1 Reply Latest reply on Jan 1, 2013 5:44 PM by songjinglim

    NumberFormatException throw out from BufferUtil.java when run in GAE1.3+

    songjinglim Newbie

      Hi

       

      I using richface 4.3.0.M2 and it throw out below exception when I run in on GAE 1.3 and GAE1.2.  It work fine with GAE 1.2.

       

      Any help?  Or workaround avaialble /

       

      INFO: request=com.google.appengine.tools.development.ResponseRewriterFilter$RequestWrapper@14e834c, response=com.google.appengine.tools.development.ResponseRewriterFilter$ResponseWrapper@18e2fc5, chain=Faces Servlet

      14/12/2012 2:01:35 AM com.google.apphosting.utils.jetty.JettyLogger warn

      WARNING: /javax.faces.resource/application.css.jsf

      java.lang.NumberFormatException: Wed, 05 Dec 2012 23:22:19 GMT

          at org.mortbay.io.BufferUtil.toLong(BufferUtil.java:106)

          at org.mortbay.jetty.HttpFields$Field.getLongValue(HttpFields.java:1479)

          at org.mortbay.jetty.HttpFields.getLongField(HttpFields.java:720)

          at org.mortbay.jetty.Request.getIntHeader(Request.java:728)

          at javax.servlet.http.HttpServletRequestWrapper.getIntHeader(HttpServletRequestWrapper.java:106)

          at com.google.appengine.tools.development.ResponseRewriterFilter$RequestWrapper.getDateHeader(ResponseRewriterFilter.java:405)

          at com.sun.faces.application.resource.ResourceImpl.getIfModifiedHeader(ResourceImpl.java:368)

          at com.sun.faces.application.resource.ResourceImpl.userAgentNeedsUpdate(ResourceImpl.java:345)

          at com.sun.faces.application.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:252)

          at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:264)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:310)

          at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)

          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)

          at com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74)

          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

          at com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:123)

          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

          at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)

          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

          at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:61)

          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

          at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)

          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

          at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:125)

          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

          at com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)

          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

          at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)

          at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

          at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)

          at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

          at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

          at com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:94)

          at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

          at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:383)

          at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

          at org.mortbay.jetty.Server.handle(Server.java:326)

          at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)

          at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)

          at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)

          at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)

          at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)

          at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)

          at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)