Hi
The issue has the following suggested workaround:
----------------------- start
Comment 14 by neiltolson, Mar 30 (5 days ago) Just like mgo1977 said
above, start the app in a DeferredCommand in the EntryPoint:
public void onModuleLoad() {
DeferredCommand.addCommand(
new Command() {
public void execute() {
TestScreen testScreen = new TestScreen();
RootPanel.get( "application" ).add( testScreen );
}
} );
}
This works consistently for me with JDK 1.5.0_19.
-------------------------- end
Can you try if the workaround works for you?
Regards,
Karthik
On Apr 5, 6:38 am, Shyam Visamsetty <[email protected]> wrote:
> Hi,
>
> Thanks for the reply. Definitely sounds like related to the issue
> posted. Is there a work around for this that you know of?
>
> Thanks,
> Shyam
>
> On Apr 4, 1:31 pm, KarthikR <[email protected]> wrote:
>
>
>
> > Hi
>
> > This may be related
> > tohttp://code.google.com/p/google-web-toolkit/issues/detail?id=4254
>
> > Regards,
> > Karthik
>
> > On Apr 4, 8:19 am, Shyam Visamsetty <[email protected]> wrote:
>
> > > 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(DelegatingMethodAccessorImp
> > > l.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(BrowserChan
> > > nelServer.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.- Hide quoted text -
>
> - Show quoted text -
--
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.