Bug 699715 - Deleting group alert definition throws "global exception" and prevents refresh
Summary: Deleting group alert definition throws "global exception" and prevents refresh
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.0.0.Beta2
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks: rhq4
TreeView+ depends on / blocked
 
Reported: 2011-04-26 12:51 UTC by Heiko W. Rupp
Modified: 2011-10-04 19:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-26 13:51:17 UTC
Embargoed:


Attachments (Terms of Use)
Screenshot_Group alert Definition view (77.29 KB, image/png)
2011-04-26 13:51 UTC, Sunil Kondkar
no flags Details

Description Heiko W. Rupp 2011-04-26 12:51:42 UTC
I have a group level alert definition on a group with one resource (see also BZ https://bugzilla.redhat.com/show_bug.cgi?id=699696 )

Deleting this did throw the following stack trace

The UI is just showing the spinning dots, but not refreshing the list of group alert definitions afterwards
Even F5 does not bring the table back in a steady state.


com.google.gwt.core.client.JavaScriptException:(TypeError): this$static is null stack: org_rhq_core_domain_resource_group_ResourceGroup_$getId__Lorg_rhq_core_domain_resource_group_ResourceGroup_2I(null)@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:77391 org_rhq_enterprise_gui_coregui_client_alert_definitions_ResourceAlertDefinitionsDataSource_copyValues__Lorg_rhq_core_domain_alert_AlertDefinition_2Lcom_smartgwt_client_widgets_grid_ListGridRecord_2([object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:107631 org_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource_copyValues__Ljava_lang_Object_2Lcom_smartgwt_client_widgets_grid_ListGridRecord_2([object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:101984 org_rhq_enterprise_gui_coregui_client_util_RPCDataSource_copyValues__Ljava_lang_Object_2ZLcom_smartgwt_client_widgets_grid_ListGridRecord_2([object Object],true)@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:95606 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([object Object],[object Object],true)@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:95404 org_rhq_enterprise_gui_coregui_client_util_RPCDataSource_$buildRecords__Lorg_rhq_enterprise_gui_coregui_client_util_RPCDataSource_2Ljava_util_Collection_2_3Lcom_smartgwt_client_widgets_grid_ListGridRecord_2([object Object],[object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:95392 org_rhq_enterprise_gui_coregui_client_util_RPCDataSource_buildRecords__Ljava_util_Collection_2_3Lcom_smartgwt_client_widgets_grid_ListGridRecord_2([object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:95593 org_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource_dataRetrieved__Lorg_rhq_core_domain_util_PageList_2Lcom_smartgwt_client_data_DSResponse_2Lcom_smartgwt_client_data_DSRequest_2V([object Object],[object Object],[object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:101994 org_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource$2_$onSuccess__Lorg_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource$2_2Lorg_rhq_core_domain_util_PageList_2V([object Object],[object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:102080 org_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource$2_onSuccess__Ljava_lang_Object_2V([object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:102094 com_google_gwt_user_client_rpc_impl_RequestCallbackAdapter_onResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V([object Object],[object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:15006 org_rhq_enterprise_gui_coregui_client_util_rpc_TrackingRequestCallback_onResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V([object Object],[object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:205793 com_google_gwt_http_client_Request_$fireOnResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2V([object Object],[object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:7357 com_google_gwt_http_client_RequestBuilder$1_onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V([object XMLHttpRequest])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:7655 ([object Event])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:20608 com_google_gwt_core_client_impl_Impl_apply__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2((function () {handler.onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(_this);}),[object XMLHttpRequest],[object Arguments])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:3757 com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2((function () {handler.onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(_this);}),[object XMLHttpRequest],[object Arguments])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:3785 ([object Event])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:3774 fileName: http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html lineNumber: 77391
--- STACK TRACE FOLLOWS ---
(TypeError): this$static is null stack: org_rhq_core_domain_resource_group_ResourceGroup_$getId__Lorg_rhq_core_domain_resource_group_ResourceGroup_2I(null)@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:77391 org_rhq_enterprise_gui_coregui_client_alert_definitions_ResourceAlertDefinitionsDataSource_copyValues__Lorg_rhq_core_domain_alert_AlertDefinition_2Lcom_smartgwt_client_widgets_grid_ListGridRecord_2([object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:107631 org_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource_copyValues__Ljava_lang_Object_2Lcom_smartgwt_client_widgets_grid_ListGridRecord_2([object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:101984 org_rhq_enterprise_gui_coregui_client_util_RPCDataSource_copyValues__Ljava_lang_Object_2ZLcom_smartgwt_client_widgets_grid_ListGridRecord_2([object Object],true)@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:95606 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([object Object],[object Object],true)@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:95404 org_rhq_enterprise_gui_coregui_client_util_RPCDataSource_$buildRecords__Lorg_rhq_enterprise_gui_coregui_client_util_RPCDataSource_2Ljava_util_Collection_2_3Lcom_smartgwt_client_widgets_grid_ListGridRecord_2([object Object],[object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:95392 org_rhq_enterprise_gui_coregui_client_util_RPCDataSource_buildRecords__Ljava_util_Collection_2_3Lcom_smartgwt_client_widgets_grid_ListGridRecord_2([object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:95593 org_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource_dataRetrieved__Lorg_rhq_core_domain_util_PageList_2Lcom_smartgwt_client_data_DSResponse_2Lcom_smartgwt_client_data_DSRequest_2V([object Object],[object Object],[object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:101994 org_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource$2_$onSuccess__Lorg_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource$2_2Lorg_rhq_core_domain_util_PageList_2V([object Object],[object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:102080 org_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource$2_onSuccess__Ljava_lang_Object_2V([object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:102094 com_google_gwt_user_client_rpc_impl_RequestCallbackAdapter_onResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V([object Object],[object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:15006 org_rhq_enterprise_gui_coregui_client_util_rpc_TrackingRequestCallback_onResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V([object Object],[object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:205793 com_google_gwt_http_client_Request_$fireOnResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2V([object Object],[object Object])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:7357 com_google_gwt_http_client_RequestBuilder$1_onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V([object XMLHttpRequest])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:7655 ([object Event])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:20608 com_google_gwt_core_client_impl_Impl_apply__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2((function () {handler.onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(_this);}),[object XMLHttpRequest],[object Arguments])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:3757 com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2((function () {handler.onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(_this);}),[object XMLHttpRequest],[object Arguments])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:3785 ([object Event])@http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html:3774 fileName: http://localhost:7080/coregui/org.rhq.enterprise.gui.coregui.CoreGUI/9A792AFBA39CE37332B6F562396DD80E.cache.html lineNumber: 77391
    at Unknown.org_rhq_core_domain_resource_group_ResourceGroup_$getId__Lorg_rhq_core_domain_resource_group_ResourceGroup_2I(Unknown source:0)
    at Unknown.org_rhq_enterprise_gui_coregui_client_alert_definitions_ResourceAlertDefinitionsDataSource_copyValues__Lorg_rhq_core_domain_alert_AlertDefinition_2Lcom_smartgwt_client_widgets_grid_ListGridRecord_2(Unknown source:0)
    at Unknown.org_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource_copyValues__Ljava_lang_Object_2Lcom_smartgwt_client_widgets_grid_ListGridRecord_2(Unknown source:0)
    at Unknown.org_rhq_enterprise_gui_coregui_client_util_RPCDataSource_copyValues__Ljava_lang_Object_2ZLcom_smartgwt_client_widgets_grid_ListGridRecord_2(Unknown source:0)
    at Unknown.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(Unknown source:0)
    at Unknown.org_rhq_enterprise_gui_coregui_client_util_RPCDataSource_$buildRecords__Lorg_rhq_enterprise_gui_coregui_client_util_RPCDataSource_2Ljava_util_Collection_2_3Lcom_smartgwt_client_widgets_grid_ListGridRecord_2(Unknown source:0)
    at Unknown.org_rhq_enterprise_gui_coregui_client_util_RPCDataSource_buildRecords__Ljava_util_Collection_2_3Lcom_smartgwt_client_widgets_grid_ListGridRecord_2(Unknown source:0)
    at Unknown.org_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource_dataRetrieved__Lorg_rhq_core_domain_util_PageList_2Lcom_smartgwt_client_data_DSResponse_2Lcom_smartgwt_client_data_DSRequest_2V(Unknown source:0)
    at Unknown.org_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource$2_$onSuccess__Lorg_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource$2_2Lorg_rhq_core_domain_util_PageList_2V(Unknown source:0)
    at Unknown.org_rhq_enterprise_gui_coregui_client_alert_definitions_AbstractAlertDefinitionsDataSource$2_onSuccess__Ljava_lang_Object_2V(Unknown source:0)
    at Unknown.com_google_gwt_user_client_rpc_impl_RequestCallbackAdapter_onResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(Unknown source:0)
    at Unknown.org_rhq_enterprise_gui_coregui_client_util_rpc_TrackingRequestCallback_onResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(Unknown source:0)
    at Unknown.com_google_gwt_http_client_Request_$fireOnResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2V(Unknown source:0)
    at Unknown.com_google_gwt_http_client_RequestBuilder$1_onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(Unknown source:0)
    at Unknown.anonymous(Unknown source:0)
    at Unknown.com_google_gwt_core_client_impl_Impl_apply__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(Unknown source:0)
    at Unknown.com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(Unknown source:0)

Comment 1 Sunil Kondkar 2011-04-26 13:51:17 UTC
Verified on build#1175 (Version: 4.0.0-SNAPSHOT Build Number: a90faf9)

Created an compatible group of Apache resource and created two alert definitions on the resource group. 
The group view displays only one row per alert definition. Please refer the attached screen-shot.

I was able to delete the alert definitions successfully after alerts get fired. No error are shown in the server log.

Closing the bug for now as the bug could not be reproduced on build#1175.

Comment 2 Sunil Kondkar 2011-04-26 13:51:54 UTC
Created attachment 494908 [details]
Screenshot_Group alert Definition view


Note You need to log in before you can comment on or make changes to this bug.