Can you try to reproduce this from trunk? This code has gone through several revisions since 2.1.0 M3
On Thu, Sep 9, 2010 at 6:46 PM, Rene Vielma <[email protected]> wrote: > Hello. > > I had created a new project using roo from eclipse, with GWT > capability. The project only contains one entity with two string > attributes. > And the scaffold worked fine. > > then I added a birthDate attribute. And the scaffold work fine too.. > but the eclipse console throws: > > GRAVE: null > java.lang.NullPointerException > at > > com.google.gwt.requestfactory.server.JsonRequestProcessor.encodePropertyValueFromDataStore(JsonRequestProcessor.java: > 353) > at > > com.google.gwt.requestfactory.server.JsonRequestProcessor.getJsonObject(JsonRequestProcessor.java: > 522) > at > > com.google.gwt.requestfactory.server.JsonRequestProcessor.toJsonObject(JsonRequestProcessor.java: > 1103) > at > > com.google.gwt.requestfactory.server.JsonRequestProcessor.processJsonRequest(JsonRequestProcessor.java: > 722) > at > > com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor.java: > 177) > at > > com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor.java: > 56) > at > > com.google.gwt.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java: > 87) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > 487) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1097) > at > > org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java: > 77) > at > > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java: > 76) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1088) > at > > org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java: > 88) > at > > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java: > 76) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1088) > at > > org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java: > 113) > at > > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java: > 76) > 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.HandlerWrapper.handle(HandlerWrapper.java: > 152) > at > org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: > 49) > 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.QueuedThreadPool > $PoolThread.run(QueuedThreadPool.java:488) > [WARN] /gwtRequest > java.lang.RuntimeException: java.lang.NullPointerException > at > > com.google.gwt.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java: > 94) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > 487) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1097) > at > > full trace here : > http://forum.springsource.org/attachment.php?attachmentid=3167&d=1284071613 > > I'm using sts 2.5.0 M3 + gwt 2.1.0 M3 > > any suggestions? > > thanks > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Chris Conroy Software Engineer Google, Atlanta -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-web-toolkit?hl=en.
