Tuesday, March 29, 2016

Re: GXT 2.3.1 Cannot read property 'style' of null on google chrome version 49

Looks to me, based on the stacktrace, that you have a race condition.  Based on the trace, it appears that you are updating an object after receiving data from the server.  There are many things that can affect and effect this timing.  Many GXT elements, especially older GXT versions, have properties that can not be modified until the element is attached the first time.  So if the data comes back before the elements are attached and you attempt to update the widgets, this kind of thing can happen.  That is the best I can say without looking at the code in question.


On Tuesday, March 29, 2016 at 2:42:16 AM UTC-7, akshatha shetty wrote:
We keep getting this issue in chrome 49 when we access pages with grid and hidden columns.And the same issue is not reproducible in Firefox.
Please let me know if any one else face this issue
stack trace for reference 


SEVERE: Uncaught exceptioncom.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'booleanValue_2_g$' of undefined
at Unknown.wrap_4_g$(Exceptions.java:36)
at Unknown.onSuccess_1651_g$(SharesPage.java:211)
at Unknown.onSuccess_1650_g$(SharesPage.java:205)
at Unknown.onSuccess_1546_g$(CifsConfigCModeOperations.java:686)
at Unknown.onSuccess_1547_g$(CifsConfigCModeOperations.java:674)
at Unknown.onOriginServerRequestSuccess_1_g$(NaZapiServer.java:272)
at Unknown.onSuccess_181_g$(NaHttpServer.java:49)
at Unknown.onSuccess_4_g$(OriginServerRequest.java:354)
at Unknown.passResponse_2_g$(AbstractAuthenticator.java:277)
at Unknown.handleResponse_0_g$(AbstractAuthenticator.java:367)
at Unknown.intercept_2_g$(AbstractAuthenticator.java:262)
at Unknown.onResponseReceived_2_g$(OriginServerRequest.java:264)
at Unknown.fireOnResponseReceived_0_g$(Request.java:250)
at Unknown.onReadyStateChange_0_g$(RequestBuilder.java:412)
at Unknown.anonymous(XMLHttpRequest.java:329)
at Unknown.apply_0_g$(Impl.java:247)
at Unknown.entry0_0_g$(Impl.java:300)
at Unknown.anonymous(Impl.java:72)
error_2_g$ @ ConsoleLogHandler.java:69
ConsoleLogHandler.java:77 Mon Mar 28 11:09:41 GMT+530 2016 
INFO: Shares Page - Hidden
ConsoleLogHandler.java:77 Mon Mar 28 11:09:41 GMT+530 2016 
INFO: API request start : qtree-list-iter
XMLHttpRequest.java:343 Refused to set unsafe header "Content-Length"$setRequestHeader_0_g$ @ XMLHttpRequest.java:343
ConsoleLogHandler.java:77 Mon Mar 28 11:09:41 GMT+530 2016 
INFO: API response received : qtree-list-iter
SuperDevModeLogger.java:71 Error in loading page : 
SuperDevModeLogger.java:75 com.google.web.bindery.event.shared.UmbrellaException: Exception caught: Exception caught: (TypeError) : Cannot read property 'getHeight_33_g$' of null
  at fillInStackTrace_0_g$
  at Throwable_3_g$
  at Exception_4_g$
  at RuntimeException_3_g$
  at UmbrellaException_3_g$
  at doFire_0_g$
  at fireEvent_12_g$
  at fireEvent_17_g$
  at goTo_0_g$
  at processPlace_2_g$
  at processPlace_1_g$
  at navigateToPlace_0_g$
  at onSelect_6_g$
  at dispatch_322_g$
  at dispatch_321_g$
  at dispatch_0_g$
  at dispatchEvent_2_g$
  at doFire_0_g$
  at fireEvent_12_g$
  at fireEvent_11_g$
  at fireEvent_28_g$
  at onClick_187_g$
  at onBrowserEvent_34_g$
  at onBrowserEvent_26_g$
  at onBrowserEvent_27_g$
  at onBrowserEvent_28_g$
  at dispatchEventImpl_0_g$
  at dispatchEvent_4_g$
  at dispatchEvent_6_g$
  at apply_0_g$
  at entry0_0_g$
  at anonymous
Caused by: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read property 'getHeight_33_g$' of null
  at fillInStackTrace_0_g$
  at Throwable_3_g$
  at Exception_4_g$
  at RuntimeException_3_g$
  at UmbrellaException_3_g$
  at UmbrellaException_5_g$
  at onPlaceChange_0_g$
  at dispatch_80_g$
  at dispatch_79_g$
  at dispatch_0_g$
  at dispatchEvent_2_g$
  at doFire_0_g$
  at fireEvent_12_g$
  at fireEvent_17_g$
  at goTo_0_g$
  at processPlace_2_g$
  at processPlace_1_g$
  at navigateToPlace_0_g$
  at onSelect_6_g$
  at dispatch_322_g$
  at dispatch_321_g$
  at dispatch_0_g$
  at dispatchEvent_2_g$
  at doFire_0_g$
  at fireEvent_12_g$
  at fireEvent_11_g$
  at fireEvent_28_g$
  at onClick_187_g$
  at onBrowserEvent_34_g$
  at onBrowserEvent_26_g$
  at onBrowserEvent_27_g$
  at onBrowserEvent_28_g$
  at dispatchEventImpl_0_g$
  at dispatchEvent_4_g$
  at dispatchEvent_6_g$
  at apply_0_g$
  at entry0_0_g$
  at anonymous
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'getHeight_33_g$' of null
  at wrap_4_g$
  at adjustHeights_0_g$
  at onAttach_16_g$
  at onAttach_28_g$
  at doAttachNative_0_g$
  at doAttach_1_g$
  at doAttach_2_g$
  at doAttachChildren_24_g$
  at onAttach_0_g$
  at onAttach_1_g$
  at doAttachNative_0_g$
  at doAttach_1_g$
  at attachChildren_0_g$
  at doAttachChildren_2_g$
  at doAttachChildren_3_g$
  at onAttach_0_g$
  at onAttach_1_g$
  at onAttach_3_g$
  at doAttachNative_0_g$
  at doAttach_1_g$
  at attachChildren_0_g$
  at doAttachChildren_2_g$
  at onAttach_0_g$
  at onAttach_1_g$
  at onAttach_3_g$
  at doAttachNative_0_g$
  at doAttach_1_g$
  at attachChildren_0_g$
  at doAttachChildren_2_g$
  at onAttach_0_g$
  at onAttach_1_g$
  at onAttach_3_g$
  at doAttachNative_0_g$
  at doAttach_1_g$
  at attachChildren_0_g$
  at doAttachChildren_2_g$
  at doAttachChildren_12_g$
  at onAttach_0_g$
  at onAttach_1_g$
  at onAttach_3_g$
  at onAttach_8_g$
  at doAttachNative_0_g$
  at doAttach_1_g$
  at attachChildren_0_g$
  at doAttachChildren_2_g$
  at doAttachChildren_3_g$
  at onAttach_0_g$
  at onAttach_1_g$
  at onAttach_3_g$
  at doAttachNative_0_g$
  at doAttach_1_g$
  at attachChildren_0_g$
  at onLayoutExcecuted_0_g$
  at handleEvent_55_g$
  at handleEvent_54_g$
  at callListener_0_g$
  at fireEvent_2_g$
  at layout_5_g$
  at doLayout_2_g$
  at layout_2_g$
  at layout_4_g$
  at doLayout_2_g$
  at layout_2_g$
  at layout_4_g$
  at layout_1_g$
  at layout_3_g$
  at showPage_3_g$
  at showPage_5_g$
  at addPageToWorkAreaPanel_1_g$
  at updateWorkAreaPanel_2_g$
  at navigateToPage_0_g$
  at start_12_g$
  at tryStart_0_g$
  at onPlaceChange_0_g$
  at dispatch_80_g$
  at dispatch_79_g$
  at dispatch_0_g$
  at dispatchEvent_2_g$
  at doFire_0_g$
  at fireEvent_12_g$
  at fireEvent_17_g$
  at goTo_0_g$
  at processPlace_2_g$
  at processPlace_1_g$
  at navigateToPlace_0_g$
  at onSelect_6_g$
  at dispatch_322_g$
  at dispatch_321_g$
  at dispatch_0_g$
  at dispatchEvent_2_g$
  at doFire_0_g$
  at fireEvent_12_g$
  at fireEvent_11_g$
  at fireEvent_28_g$
  at onClick_187_g$
  at onBrowserEvent_34_g$
  at onBrowserEvent_26_g$
  at onBrowserEvent_27_g$
  at onBrowserEvent_28_g$
  at dispatchEventImpl_0_g$
  at dispatchEvent_4_g$
  at dispatchEvent_6_g$
  at apply_0_g$
  at entry0_0_g$
  at anonymous
error_1_g$ @ SuperDevModeLogger.java:75
SuperDevModeLogger.java:71 Error in loading page : 
SuperDevModeLogger.java:75 com.google.web.bindery.event.shared.UmbrellaException: Exception caught: Exception caught: (TypeError) : Cannot read property 'style' of null
  at fillInStackTrace_0_g$
  at Throwable_3_g$
  at Exception_4_g$
  at RuntimeException_3_g$
  at UmbrellaException_3_g$
  at doFire_0_g$
  at fireEvent_12_g$
  at fireEvent_17_g$
  at goTo_0_g$
  at processPlace_2_g$
  at processPlace_1_g$
  at navigateToPlace_0_g$
  at onSelect_7_g$
  at dispatch_322_g$
  at dispatch_321_g$
  at dispatch_0_g$
  at dispatchEvent_2_g$
  at doFire_0_g$
  at fireEvent_12_g$
  at fireEvent_11_g$
  at fireEvent_28_g$
  at onClick_187_g$
  at onBrowserEvent_34_g$
  at onBrowserEvent_26_g$
  at onBrowserEvent_27_g$
  at onBrowserEvent_28_g$
  at dispatchEventImpl_0_g$
  at dispatchEvent_4_g$
  at dispatchEvent_6_g$
  at apply_0_g$
  at entry0_0_g$
  at anonymous
Caused by: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read property 'style' of null
  at fillInStackTrace_0_g$
  at Throwable_3_g$
  at Exception_4_g$
  at RuntimeException_3_g$
  at UmbrellaException_3_g$
  at UmbrellaException_5_g$
  at onPlaceChange_0_g$
  at dispatch_80_g$
  at dispatch_79_g$
  at dispatch_0_g$
  at dispatchEvent_2_g$
  at doFire_0_g$
  at fireEvent_12_g$
  at fireEvent_17_g$
  at goTo_0_g$
  at processPlace_2_g$
  at processPlace_1_g$
  at navigateToPlace_0_g$
  at onSelect_7_g$
  at dispatch_322_g$
  at dispatch_321_g$
  at dispatch_0_g$
  at dispatchEvent_2_g$
  at doFire_0_g$
  at fireEvent_12_g$
  at fireEvent_11_g$
  at fireEvent_28_g$
  at onClick_187_g$
  at onBrowserEvent_34_g$
  at onBrowserEvent_26_g$
  at onBrowserEvent_27_g$
  at onBrowserEvent_28_g$
  at dispatchEventImpl_0_g$
  at dispatchEvent_4_g$
  at dispatchEvent_6_g$
  at apply_0_g$
  at entry0_0_g$
  at anonymous
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'style' of null
  at wrap_4_g$
  at $getStyle_0_g$
  at adjustCellWidth_0_g$
  at adjustColumnWidths_0_g$
  at updateAllColumnWidths_1_g$
  at updateAllColumnWidths_0_g$
  at updateAllColumnWidths_2_g$
  at fitColumns_5_g$
  at layout_8_g$
  at layout_7_g$
  at calculateVBar_1_g$
  at refresh_4_g$
  at refresh_8_g$
  at refresh_16_g$
  at refresh_24_g$
  at onClear_1_g$
  at storeClear_2_g$
  at handleEvent_40_g$
  at handleEvent_39_g$
  at callListener_0_g$
  at fireEvent_2_g$
  at removeAll_5_g$
  at updateRows_0_g$
  at updateRows_1_g$
  at updateRows_2_g$
  at resize_4_g$
  at layout_8_g$
  at layout_7_g$
  at calculateVBar_1_g$
  at onResize_21_g$
  at setSize_6_g$
  at setSize_12_g$
  at setItemSize_0_g$
  at onLayout_1_g$
  at layout_5_g$
  at handleEvent_72_g$
  at run_10_g$
  at delay_1_g$
  at onResize_10_g$
  at handleEvent_71_g$
  at handleEvent_70_g$
  at callListener_0_g$
  at fireEvent_2_g$
  at fireEvent_8_g$
  at setSize_6_g$
  at applyLayout_0_g$
  at onLayout_3_g$
  at layout_5_g$
  at handleEvent_72_g$
  at run_10_g$
  at delay_1_g$
  at onResize_10_g$
  at handleEvent_71_g$
  at handleEvent_70_g$
  at callListener_0_g$
  at fireEvent_2_g$
  at fireEvent_8_g$
  at setSize_6_g$
  at applyLayout_0_g$
  at onLayout_3_g$
  at layout_5_g$
  at handleEvent_72_g$
  at run_10_g$
  at delay_1_g$
  at onResize_10_g$
  at handleEvent_71_g$
  at handleEvent_70_g$
  at callListener_0_g$
  at fireEvent_2_g$
  at fireEvent_8_g$
  at setSize_6_g$
  at setSize_12_g$
  at setItemSize_0_g$
  at onLayout_1_g$
  at layout_5_g$
  at handleEvent_72_g$
  at run_10_g$
  at delay_1_g$
  at onResize_10_g$
  at handleEvent_71_g$
  at handleEvent_70_g$
  at callListener_0_g$
  at fireEvent_2_g$
  at fireEvent_8_g$
  at setSize_6_g$
  at setSize_12_g$
  at setItemSize_0_g$
  at onLayout_1_g$
  at layout_5_g$
  at handleEvent_72_g$
  at run_10_g$
  at delay_1_g$
  at onResize_10_g$
  at handleEvent_71_g$
  at handleEvent_70_g$
  at callListener_0_g$
  at fireEvent_2_g$
  at fireEvent_8_g$
  at setSize_6_g$
  at setSize_12_g$
  at setItemSize_0_g$
  at onLayout_1_g$
  at layout_5_g$
  at handleEvent_72_g$
  at run_10_g$
  at delay_1_g$
  at onResize_10_g$
  at handleEvent_71_g$
  at handleEvent_70_g$
  at callListener_0_g$
  at fireEvent_2_g$
  at fireEvent_8_g$
  at setSize_6_g$
  at applyLayout_0_g$
  at onLayout_3_g$
  at layout_5_g$
  at doLayout_2_g$
  at layout_2_g$
  at layout_4_g$
  at layout_1_g$
  at layout_3_g$
  at addSettingPanel_0_g$
  at showSVMSettingsPanel_0_g$
  at navigateToPage_0_g$
  at start_12_g$
  at tryStart_0_g$
  at onPlaceChange_0_g$
  at dispatch_80_g$
  at dispatch_79_g$
  at dispatch_0_g$
  at dispatchEvent_2_g$
  at doFire_0_g$
  at fireEvent_12_g$
  at fireEvent_17_g$
  at goTo_0_g$
  at processPlace_2_g$
  at processPlace_1_g$
  at navigateToPlace_0_g$
  at onSelect_7_g$
  at dispatch_322_g$
  at dispatch_321_g$
  at dispatch_0_g$
  at dispatchEvent_2_g$
  at doFire_0_g$
  at fireEvent_12_g$
  at fireEvent_11_g$
  at fireEvent_28_g$
  at onClick_187_g$
  at onBrowserEvent_34_g$
  at onBrowserEvent_26_g$
  at onBrowserEvent_27_g$
  at onBrowserEvent_28_g$
  at dispatchEventImpl_0_g$
  at dispatchEvent_4_g$
  at dispatchEvent_6_g$
  at apply_0_g$
  at entry0_0_g$
  at anonymous

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment