JBoss ON Platforms inventory page fails to load due to "Globally uncaught exception" (TypeError): from.org_rhq_core_domain_resource_Resource_currentAvailability is null

Solution Verified - Updated -

Issue

  • Globally uncaught exceptions after upgrading
  • Message about a Globally uncaught exception
  • Platforms inventory page just spins forever.
  • Receive Globally uncaught exception with the following stacktrace from the Message Center:

    com.google.gwt.core.client.JavaScriptException:(TypeError): from.org_rhq_core_domain_resource_Resource_currentAvailability is null
    --- STACK TRACE FOLLOWS ---
    (TypeError): from.org_rhq_core_domain_resource_Resource_currentAvailability is null
    stack: org_rhq_enterprise_gui_coregui_client_inventory_resource_ResourceDatasource_$copyValues__Lorg_rhq_enterprise_gui_coregui_client_inventory_resource_ResourceDatasource_2Lorg_rhq_core_domain_resource_Resource_2Lcom_smartgwt_client_widgets_grid_ListGridRecord_2@https://myjon.server:7443/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/916AC7929C193E9E602839783B9B0857.cache.html:149635
        org_rhq_enterprise_gui_coregui_client_inventory_resource_ResourceDatasource_copyValues__Lorg_rhq_core_domain_resource_Resource_2Lcom_smartgwt_client_widgets_grid_ListGridRecord_2@https://myjon.server:7443/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/916AC7929C193E9E602839783B9B0857.cache.html:149754
        org_rhq_enterprise_gui_coregui_client_inventory_resource_ResourceDatasource_copyValues__Ljava_lang_Object_2Lcom_smartgwt_client_widgets_grid_ListGridRecord_2@https://myjon.server:7443/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/916AC7929C193E9E602839783B9B0857.cache.html:149758
        org_rhq_enterprise_gui_coregui_client_util_RPCDataSource_copyValues__Ljava_lang_Object_2ZLcom_smartgwt_client_widgets_grid_ListGridRecord_2@https://myjon.server:7443/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/916AC7929C193E9E602839783B9B0857.cache.html:64843
        org_rhq_enterprise_gui_coregui_client_util_RPCDataSource_$buildRecords__Lorg_rhq_enterprise_gui_coregui_client_util_RPCDataSource_2Ljava_util_Collection_2Z_3Lcom_smartgwt_client_widgets_grid_ListGridRecord_2@https://myjon.server:7443/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/916AC7929C193E9E602839783B9B0857.cache.html:64557
        org_rhq_enterprise_gui_coregui_client_inventory_resource_ResourceDatasource$2_onTypesLoaded__Ljava_util_Map_2V@https://myjon.server:7443/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/916AC7929C193E9E602839783B9B0857.cache.html:149846
        ...
        @https://myjon.server:7443/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/916AC7929C193E9E602839783B9B0857.cache.html:2078
        fileName: https://myjon.server:7443/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/916AC7929C193E9E602839783B9B0857.cache.html
        lineNumber: 149635
           at Unknown.anonymous(Unknown Source)
           at Unknown.anonymous(Unknown Source)
           ...
    
  • Platforms page problem:

    com.google.gwt.core.client.JavaScriptException:(TypeError): from.org_rhq_core_domain_resource_Resource_currentAvailability is null
    --- STACK TRACE FOLLOWS ---
    (TypeError): from.org_rhq_core_domain_resource_Resource_currentAvailability is null
    stack: org_rhq_enterprise_gui_coregui_client_inventory_resource_ResourceDatasource_$copyValues__Lorg_rhq_enterprise_gui_coregui_client_inventory_resource_ResourceDatasource_2Lorg_rhq_core_domain_resource_Resource_2Lcom_smartgwt_client_widgets_grid_ListGridRecord_2@http://myjon.server:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/790905353388695808E3EF379A2F8374.cache.html:149119
        org_rhq_enterprise_gui_coregui_client_inventory_resource_ResourceDatasource_copyValues__Lorg_rhq_core_domain_resource_Resource_2Lcom_smartgwt_client_widgets_grid_ListGridRecord_2@http://myjon.server:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/790905353388695808E3EF379A2F8374.cache.html:149238
        org_rhq_enterprise_gui_coregui_client_inventory_resource_ResourceDatasource_copyValues__Ljava_lang_Object_2Lcom_smartgwt_client_widgets_grid_ListGridRecord_2@http://myjon.server:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/790905353388695808E3EF379A2F8374.cache.html:149242
        org_rhq_enterprise_gui_coregui_client_util_RPCDataSource_copyValues__Ljava_lang_Object_2ZLcom_smartgwt_client_widgets_grid_ListGridRecord_2@http://myjon.server:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/790905353388695808E3EF379A2F8374.cache.html:64681
        org_rhq_enterprise_gui_coregui_client_util_RPCDataSource_$buildRecords__Lorg_rhq_enterprise_gui_coregui_client_util_RPCDataSource_2Ljava_util_Collection_2Z_3Lcom_smartgwt_client_widgets_grid_ListGridRecord_2@http://myjon.server:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/790905353388695808E3EF379A2F8374.cache.html:64395
        org_rhq_enterprise_gui_coregui_client_inventory_resource_ResourceDatasource$2_onTypesLoaded__Ljava_util_Map_2V@http://myjon.server:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/790905353388695808E3EF379A2F8374.cache.html:149330
        ...
        @http://myjon.server:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/790905353388695808E3EF379A2F8374.cache.html:2078
        fileName: http://myjon.server:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/790905353388695808E3EF379A2F8374.cache.html
        lineNumber: 149119
           at Unknown.anonymous(Unknown Source)
           at Unknown.anonymous(Unknown Source)
           ...
    
  • Inventory page fails to load with error (TypeError): from.org_rhq_core_domain_resource_Resource_currentAvailability is null

Environment

  • JBoss Operations Network (ON) 3.1, 3.1.1
  • Upgraded from a version prior to JBoss ON 3.1
  • Accessing an inventory page (Platforms, Servers, Services, etc)
  • Prior to upgrading, one or more resources were removed from inventory immediately followed by a ON server shutdown

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content