That error might be complicated.

Have you checked this thread about the issue:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/9b4a98d0d50d2752/f05c27aa5131a153?hl=en&lnk=gst&q=expected+bytes#f05c27aa5131a153



On Dec 7 2008, 7:14 am, rintcius <rintc...@gmail.com> wrote:
> Hi,
> I am trying to get a gwt-gadget running, but I am getting the
> exception below on the RPC call. Anybody has an idea what could be
> going on?
> The stacktrace below is when deployed on jetty, but I get a similar
> exception on glassfish v2.
> GWT version: 1.5.3. gwt-gadget version: 1.0.1
>
> Thanks for any help,
> Rintcius
>
> [Fatal Error] :-1:-1: Premature end of file.
> [Fatal Error] :-1:-1: Premature end of file.
> 2008-12-06 21:40:49.329:/:WARN:  Exception while dispatching incoming
> RPC call
> javax.servlet.ServletException: Client did not send 139bytesasexpected
>     at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsUtf8
> (RPCServletUtils.java:148)
>     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:597)
>     at org.codehaus.groovy.reflection.CachedMethod.invoke
> (CachedMethod.java:86)
>     at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:226)
>     at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:
> 1094)
>     at groovy.lang.ExpandoMetaClass.invokeStaticMethod
> (ExpandoMetaClass.java:957)
>     at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod
> (InvokerHelper.java:748)
>     at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN
> (ScriptBytecodeAdapter.java:167)
>     at
> org.codehaus.groovy.grails.plugins.gwt.GrailsRemoteServiceServlet.readContent
> (GrailsRemoteServiceServlet.groovy:28)
>     at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
> (RemoteServiceServlet.java:77)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>     at org.mortbay.jetty.servlet.ServletHolder.handle
> (ServletHolder.java:487)
>     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1097)
>     at
> org.codehaus.groovy.grails.web.mapping.filter.UrlMappingsFilter.processFilterChain
> (UrlMappingsFilter.java:157)
>     at
> org.codehaus.groovy.grails.web.mapping.filter.UrlMappingsFilter.doFilterInternal
> (UrlMappingsFilter.java:148)
>     at org.springframework.web.filter.OncePerRequestFilter.doFilter
> (OncePerRequestFilter.java:75)
>     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1088)
>     at
> org.codehaus.groovy.grails.web.sitemesh.GrailsPageFilter.parsePage
> (GrailsPageFilter.java:119)
>     at
> org.codehaus.groovy.grails.web.sitemesh.GrailsPageFilter.doFilter
> (GrailsPageFilter.java:82)
>     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1088)
>     at
> org.codehaus.groovy.grails.web.servlet.filter.GrailsReloadServletFilter.doFilterInternal
> (GrailsReloadServletFilter.java:142)
>     at org.springframework.web.filter.OncePerRequestFilter.doFilter
> (OncePerRequestFilter.java:75)
>     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1088)
>     at
> org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal
> (GrailsWebRequestFilter.java:68)
>     at org.springframework.web.filter.OncePerRequestFilter.doFilter
> (OncePerRequestFilter.java:75)
>     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1088)
>     at
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal
> (CharacterEncodingFilter.java:96)
>     at org.springframework.web.filter.OncePerRequestFilter.doFilter
> (OncePerRequestFilter.java:75)
>     at
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate
> (DelegatingFilterProxy.java:183)
>     at org.springframework.web.filter.DelegatingFilterProxy.doFilter
> (DelegatingFilterProxy.java:138)
>     at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1088)
>     at org.mortbay.jetty.servlet.ServletHandler.handle
> (ServletHandler.java:360)
>     at org.mortbay.jetty.security.SecurityHandler.handle
> (SecurityHandler.java:216)
>     at org.mortbay.jetty.servlet.SessionHandler.handle
> (SessionHandler.java:181)
>     at org.mortbay.jetty.handler.ContextHandler.handle
> (ContextHandler.java:729)
>     at org.mortbay.jetty.webapp.WebAppContext.handle
> (WebAppContext.java:405)
>     at org.mortbay.jetty.handler.ContextHandlerCollection.handle
> (ContextHandlerCollection.java:206)
>     at org.mortbay.jetty.handler.HandlerCollection.handle
> (HandlerCollection.java:114)
>     at org.mortbay.jetty.handler.HandlerWrapper.handle
> (HandlerWrapper.java:152)
>     at org.mortbay.jetty.Server.handle(Server.java:324)
>     at org.mortbay.jetty.HttpConnection.handleRequest
> (HttpConnection.java:505)
>     at org.mortbay.jetty.HttpConnection$RequestHandler.content
> (HttpConnection.java:843)
>     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
>     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:
> 211)
>     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:
> 380)
>     at org.mortbay.io.nio.SelectChannelEndPoint.run
> (SelectChannelEndPoint.java:395)
>     at org.mortbay.thread.BoundedThreadPool$PoolThread.run
> (BoundedThreadPool.java:450)
--~--~---------~--~----~------------~-------~--~----~
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-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to