Thursday, May 7, 2015

"Cannot read property 'isShowing_1_g$' of null" exception thrown when using GWT 2.7

Hello,

I have this very odd exception thrown when re sizing a window in an application which recently was updated to use GWT 2.7 (also other libs were updated to support GWT 2.7):
Uncaught com.google.gwt.event.shared.UmbrellaException: 2 exceptions caught: (TypeError) : Cannot read property 'isShowing_1_g$' of null; (TypeError) : Cannot read property 'isShowing_1_g$' of null
fireEvent_21_g$
@ HandlerManager.java:129
fire_69_g$
@ ResizeEvent.java:44
onResize_30_g$
@ Window.java:871
(anonymous function) @ WindowImpl.java:76
apply_26_g$
@ Impl.java:247
entry0_0_g$
@ Impl.java:306
(anonymous function) @ Impl.java:72


So it looks like ResizeEvent tries to fire event on source element, but Window creates handlers by doing "new WindowHandlers()", but that constructor has "super(null);" where null is a source. So in the end it tries to call method fireEvent(event) on null element. But it says nothing about isShowing property. What is it and why can't it be read?

Thanks in advance,
Petras P.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment