English 中文(简体)
GWT error at runtime: ....style_0 is null
原标题:
  • 时间:2009-11-14 17:20:35
  •  标签:
  • gwt

My code works fine in IE 8, but on firefox 3.5, the javascript fails to load. I used firebug to figure out why, and the error I get is (GWT detailed mode)

My suspicion is that some style is not defined in the CSS, but I have not been able to find anything.

thanks Siddharth

com_google_gwt_dom_client_DOMImplMozilla_$getBodyOffsetLeft__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Document_2_style_0 is null

The stacktrace reveals: com_google_gwt_dom_client_Document_$getBodyOffsetLeft__Lcom_google_gwt_dom_client_Document_2(Document qbsearch.html)FC971AE8...ache.html (line 599) com_google_gwt_user_client_ui_PopupPanel_$setPopupPosition__Lcom_google_gwt_user_client_ui_PopupPanel_2II(, Object name=left value=0, Object name=top value=0)FC971AE8...ache.html (line 5178) com_google_gwt_user_client_ui_DialogBox_$DialogBox__Lcom_google_gwt_user_client_ui_DialogBox_2()FC971AE8...ache.html (line 5372) com_intuit_search_client_Qbsearch2_$Qbsearch2__Lcom_intuit_search_client_Qbsearch2_2(com.intuit.search.client.Qbsearch2@2)FC971AE8...ache.html (line 8298) init()FC971AE8...ache.html (line 11000)

(URL removed...)

maybeStartModule()qsearch...ocache.js (line 39) anonymous()qsearch...ocache.js (line 215) FC971AE816AD9EEF5906AB56B24F3639.cache.html()FC971AE8...ache.html (line 11023) [Break on this error] return com_google_gwt_dom_client_DOMIm...nt_Document_2_style_0.borderLeftWidth);

问题回答

Turns out that there are certain widgets you cannot use if you are using a hidden iframe, including HorizontalSplitPanel and DialogBox. Removing these from my startup fixed the problem





相关问题
Refresh the UI in gwt

I have created some custom composite widget, which listens to an events (in my case loginEvent). Once the event is caught the state of the widget changes so as the way it should look (in my case I ...

How to create a development/debug and production setup

I recently deployed inadvertently a debug version of our game typrX (typing races at www.typrx.com - try it it s fun). It was quickly corrected but I know it may happen again. After digging on ...

GWT error at runtime: ....style_0 is null

My code works fine in IE 8, but on firefox 3.5, the javascript fails to load. I used firebug to figure out why, and the error I get is (GWT detailed mode) My suspicion is that some style is not ...

GWT s hosted mode not working

I ve been stumped for a while trying to figure out why my GWT demo app isn t working in hosted mode so I went back and downloaded the Google Web Toolkit again, unzipped it and simply went to the ...

How to disable Google Visualizations Tool Tips?

Does anyone know how to disable the tool-tip boxes that popup when a Google Visualizations chart is clicked (Selected)? Following the sample code at Getting Started with Visualizations, the "...

GWT 2 CssResource how to

I have a GWT 1.7 application and I want to upgrade it to GWT 2 Milestone 2. The application uses 2 big external CSS files. In GWT 1.7 I had a public folder and put both the CSS files in the folder and ...

热门标签