PDA

View Full Version : JS Error hiding loading panel



larvelljones
26 May 2008, 7:46 AM
I moving this to the Bugs section..

With the advent of GWT, I was hoping to *never* have to look at js again. But alas... :)

Any ideas what is causing this? This seems to cause the whole application to hang on the loading mask. This only occurs in a real browser. It's fine in hosted mode.

It seems like this edited static block from El.java is never getting executed on the browser, which results in the no properties error:


static {
GXT.init();
Window.alert("Creating global..");
global = new El(DOM.createDiv());
Window.alert("global: " + global);
}





Enable Firebug for this web site
com_extjs_gxt_ui_client_core_El_global has no properties
com_extjs_gxt_ui_client_core_El_fly__Lcom_google_gwt_user_client_Element_2(body)F7A29A5251FF21ED8... (line 3968)
com_extjs_gxt_ui_client_GXT_init__()F7A29A5251FF21ED8... (line 1569)
com_extjs_gxt_ui_client_core_El_$clinit__()F7A29A5251FF21ED8... (line 3195)
com_extjs_gxt_ui_client_core_El_$El__Lcom_extjs_gxt_ui_client_core_El_2Lcom_google_gwt_core_client_JavaScriptObject_2( java_lang_Object_typeId$=37, body)F7A29A5251FF21ED8... (line 3202)
com_extjs_gxt_ui_client_XDOM_$clinit__()F7A29A5251FF21ED8... (line 2088)
com_extjs_gxt_ui_client_XDOM_getElementById__Ljava_lang_String_2("loading")F7A29A5251FF21ED8... (line 2121)
com_extjs_gxt_ui_client_GXT_hideLoadingPanel__Ljava_lang_String_2("loading")F7A29A5251FF21ED8... (line 1506)
net_deuce_clm_gwt_main_client_Main_$onModuleLoad__Lnet_deuce_clm_gwt_main_client_Main_2(net.deuce.clm.gwt.main.client.Main@1)F7A29A5251FF21ED8... (line 36423)
gwtOnLoad(undefined, "net.deuce.clm.gwt.main.Main", "http://localhost:8080/clmanager/net.deuce.clm.gwt.main.Main/")