Hi,
I am getting the following java.lang.VerifyError when loading a GWT
Module. I am using GWT 2.0.2 and AppEngine 1.2.1. The stack trace of
the error is as follows.
10:58:38.406 [ERROR] [sensormss] Unable to load module entry point
class com.sensorms.client.Sensormss (see associated exception for
details)
java.lang.VerifyError: (class: com/google/gwt/core/client/Scheduler,
method: <init> signature: ()V) Illegal constant pool index
at
com.google.gwt.user.client.ui.LayoutCommand.schedule(LayoutCommand.java:
104)
at
com.google.gwt.user.client.ui.LayoutPanel.animate(LayoutPanel.java:
141)
at
com.google.gwt.user.client.ui.LayoutPanel.animate(LayoutPanel.java:
137)
at
com.google.gwt.user.client.ui.LayoutPanel.insert(LayoutPanel.java:196)
at com.google.gwt.user.client.ui.LayoutPanel.add(LayoutPanel.java:
133)
at
com.google.gwt.user.client.ui.TabLayoutPanel.<init>(TabLayoutPanel.java:
160)
at com.sensorms.client.Sensormss.onModuleLoad(Sensormss.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
369)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
185)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
380)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
at java.lang.Thread.run(Thread.java:595)
I get this only when I use any of the Layout Panel stuff. This code
caused this error to occur. It was taken from the TabLayoutPanel
Javadoc example.
TabLayoutPanel p = new TabLayoutPanel(1.5, Unit.EM);
p.add(new HTML("this"), "[this]");
p.add(new HTML("that"), "[that]");
p.add(new HTML("the other"), "[the other]");
RootLayoutPanel rp = RootLayoutPanel.get();
rp.add(p);
Kindly let me know what causes the error. Even the Appengine SDK 1.3.1
causes this error.
Any help/suggestions are appreciated. Thanks in Advance.
Regards,
Shyam Visamsetty.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.