GWT 2.0.0 RC2 sample errors

30 views
Skip to first unread message

Thad

unread,
Dec 7, 2009, 2:57:00 PM12/7/09
to Google Web Toolkit
Today I downloaded and installed GWT 2.0.0 RC2, and attempted to run
the samples using `ant devmode`. I received errors on Showcase and
Mail:

Showcase: The 3 JPG images failed with javax.imageio.IIOException. I
remedied this by using ImageMagik's convert to convert them to PNG and
back to JPG. Their sizes changed by a couple bytes, and Showcase ran.

Mail: Won't run. A java.lang.VerifyError is raised:
00:00:13.154 [ERROR] Unable to load module entry point class
com.google.gwt.sample.mail.client.Mail (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.dom.client.StyleInjector.schedule
(StyleInjector.java:389)
at com.google.gwt.dom.client.StyleInjector.inject
(StyleInjector.java:382)
at com.google.gwt.dom.client.StyleInjector.inject
(StyleInjector.java:222)
at com.google.gwt.dom.client.StyleInjector.inject
(StyleInjector.java:208)
at
com.google.gwt.sample.mail.client.com_google_gwt_sample_mail_client_Mail_GlobalResources_default_InlineClientBundleGenerator
$1.ensureInjected
(com_google_gwt_sample_mail_client_Mail_GlobalResources_default_InlineClientBundleGenerator.java:
14)
at com.google.gwt.sample.mail.client.Mail.onModuleLoad(Mail.java:
59)
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'm running SuSE Linux 10.3 with jdk1.5.0_17

Chris Ramsdale

unread,
Dec 7, 2009, 3:01:06 PM12/7/09
to google-we...@googlegroups.com
Try upgrading to Java 6. More info is available here:


--

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.



Jacek Żebrowski

unread,
Dec 7, 2009, 6:35:30 PM12/7/09
to google-we...@googlegroups.com
Hi !

When i try to run my service (slownikService exactly) i get the following :

Okay so heres the complete stacktrace :

SEVERE: Exception while dispatching incoming RPC call
java.lang.RuntimeException: java.lang.NoSuchMethodException: public
abstract com.extjs.gxt.ui.client.data.ListLoadResult
com.pl.jzebrowski.kataster.client.services.SlownikService.getList(com.pl.jzebrowski.kataster.client.beanmodels.SlownikMeta)
at
org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleExporterProcessingException(GWTRPCServiceExporter.java:366)
at
org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:335)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at
org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:389)
at
org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodException: public abstract
com.extjs.gxt.ui.client.data.ListLoadResult
com.pl.jzebrowski.kataster.client.services.SlownikService.getList(com.pl.jzebrowski.kataster.client.beanmodels.SlownikMeta)
at
org.gwtwidgets.server.spring.ReflectionUtils.getRPCMethod(ReflectionUtils.java:118)
at
org.gwtwidgets.server.spring.GWTRPCServiceExporter.getMethodToInvoke(GWTRPCServiceExporter.java:301)
at
org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:316)


And heres the full service code :

http://pastebin.com/m4074d46d
My servlet handler is : http://pastebin.com/m1779ee6e
And Client code (i Use GXT in a standard way - when i disable data
loader the grid renders ok so i presume its not client code related ) :
http://pastebin.com/m51a0b995

Please help - im stuck 2 days with it now and im kinda desperate :/

--
Jacek

Thad

unread,
Dec 8, 2009, 10:52:18 AM12/8/09
to Google Web Toolkit
The problem with Java 6 is that I still have to support some older Mac
servers with OS X 10.4. They only run Java 1.5 or 1.4.2.

On Dec 7, 3:01 pm, Chris Ramsdale <cramsd...@google.com> wrote:
> Try upgrading to Java 6. More info is available here:
>
> http://code.google.com/p/google-web-toolkit/issues/detail?id=4254
>
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
> > .

Chris Ramsdale

unread,
Dec 8, 2009, 11:32:44 AM12/8/09
to google-we...@googlegroups.com
This was only an issue on Windows for me, so I haven't had to upgrade to Java 6 on my Mac in order to run the Mail sample. Are you seeing it on Mac's with Java < 6 installed?

To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.

Thad

unread,
Dec 8, 2009, 12:03:55 PM12/8/09
to Google Web Toolkit
I'm seeing the problem on my Linux box running 1.5.0_17. So long as
the gold standard here is running on Macs, I don't want to develop in
1.6 for fear of something that won't target 1.5 properly (I've been
bitten on this before).

On Dec 8, 11:32 am, Chris Ramsdale <cramsd...@google.com> wrote:
> This was only an issue on Windows for me, so I haven't had to upgrade to
> Java 6 on my Mac in order to run the Mail sample. Are you seeing it on Mac's
> with Java < 6 installed?
>

Chris Ramsdale

unread,
Dec 9, 2009, 2:40:19 PM12/9/09
to google-we...@googlegroups.com
While we are in the process of determining what exactly within the Mail sample isn't playing nicely with Java 5, is your application throwing the same error? If so, would you mind adding a code snippet to the issue that was linked within this thread?

Thanks,
Chris

Craigo

unread,
Dec 10, 2009, 12:01:56 AM12/10/09
to Google Web Toolkit
I got this error as soon as I tried to use the UiBinder on Java 5,
WinXP. When I switched to Java 6, it all worked (or if I removed the
UiBinder).


On Dec 10, 6:40 am, Chris Ramsdale <cramsd...@google.com> wrote:
> While we are in the process of determining what exactly within the Mail
> sample isn't playing nicely with Java 5, is your application throwing the
> same error? If so, would you mind adding a code snippet to the issue that
> was linked within this thread?
>
> Thanks,
> Chris
>
> On Tue, Dec 8, 2009 at 12:03 PM, Thad <thad.humphr...@gmail.com> wrote:
> > I'm seeing the problem on my Linux box running 1.5.0_17.  So long as
> > the gold standard here is running on Macs, I don't want to develop in
> > 1.6 for fear of something that won't target 1.5 properly (I've been
> > bitten on this before).
>
> > On Dec 8, 11:32 am, Chris Ramsdale <cramsd...@google.com> wrote:
> > > This was only an issue on Windows for me, so I haven't had to upgrade to
> > > Java 6 on my Mac in order to run the Mail sample. Are you seeing it on
> > Mac's
> > > with Java < 6 installed?
>
> > > On Tue, Dec 8, 2009 at 10:52 AM, Thad <thad.humphr...@gmail.com> wrote:
> > > > The problem with Java 6 is that I still have to support some older Mac
> > > > servers with OS X 10.4.  They only run Java 1.5 or 1.4.2.
>
> > > > On Dec 7, 3:01 pm, Chris Ramsdale <cramsd...@google.com> wrote:
> > > > > Try upgrading to Java 6. More info is available here:
>
> > > > >http://code.google.com/p/google-web-toolkit/issues/detail?id=4254
>
> > --
>
> > 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<google-web-toolkit%2Bunsu...@googlegroups.com>
> > .

piyush sharma

unread,
Dec 10, 2009, 12:19:29 AM12/10/09
to google-we...@googlegroups.com
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.

piyush sharma

unread,
Dec 10, 2009, 12:20:07 AM12/10/09
to google-we...@googlegroups.com

Craigo

unread,
Dec 10, 2009, 12:43:48 AM12/10/09
to Google Web Toolkit
A little more information: I am able to compile using Java 5 (with
the UiBinder code) and run it on Tomcat running on Java 6 (Tomcat
running on Java 5 throws the error).

piyush sharma

unread,
Dec 10, 2009, 12:58:07 AM12/10/09
to google-we...@googlegroups.com
On 12/10/09, Craigo <crai...@gmail.com> wrote:
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages