GWT 2.2 java.lang.ExceptionInInitializerError: null - ONLY when using Eclipse Debugger

260 views
Skip to first unread message

Yaakov

unread,
Mar 4, 2011, 1:04:43 PM3/4/11
to Google Web Toolkit
Hi,

I am using the latest Eclipse (64bit) on Window XP 64-bit with JDK
1.6.0_13 64-bit. I can compile and deploy (with maven) just fine.
Looking into installation details, I am using the latest GWT 2.2
Eclipse plugin. It shows as version 2.2.0.v201102111811.

I can compile and deploy the app just fine. Everything works. However,
if I try to start up the debugger, it gets to "Module xxxx has been
loaded" and then shows "uncaught exception escaped" message.

When I click on it, it give me a very long stack trace with the top
one being com.google.gwt.event.shared.UmbrellaException: One or more
exception caught, see full set in UmbrellaException#getCauses.

The caused by is "Deferred binding failed for "xxx.xx.xx.view.Mainview
$MainLayoutViewUiBinder' (did you forget to inherit a required
module?).

When I trace it down, this happens when the code calls:
Mainview view = new Mainview();

Please NOTE that everything was working just fine before I upgrade to
GWT 2.2, including the debugging. Now, I can compile and run on
command line, but I can't get it to work inside Eclipse.

Any ideas would be much appreciated!

Thanks,
Yaakov.

Y2i

unread,
Mar 5, 2011, 1:18:48 AM3/5/11
to google-we...@googlegroups.com
May be eclipse is still trying to use GWT 2.1?

Yaakov Chaikin

unread,
Mar 5, 2011, 8:54:54 PM3/5/11
to google-we...@googlegroups.com
No, that can't be it. I reinstalled Eclipse completely anew and made a brand new workspace. 

-Yaakov. 

On Mar 5, 2011, at 1:18 AM, Y2i <yur...@gmail.com> wrote:

May be eclipse is still trying to use GWT 2.1?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Reply all
Reply to author
Forward
0 new messages