com.google.gwt.requestfactory.server.RequestProcessingException: Unexpected exception

Spring JIRA | Johannes Weidl-Rektenwald | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When I use the following ROO script, I get the exeptions below when creating a e.g. "BonusCard" instance. The reason is the use of a "mappedSuperclass". Without inheriting from a superclass, the example works... {quote} project --topLevelPackage at.frip --projectName Frip persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY entity --class ~.domain.model.basic.CrudInfo --mappedSuperclass field string --fieldName createUser --notNull --sizeMin 2 --sizeMax 100 field date --type java.util.Date --fieldName createDate --timeFormat MEDIUM --notNull field string --fieldName updateUser --notNull --sizeMin 2 --sizeMax 100 field date --type java.util.Date --fieldName updateDate --timeFormat MEDIUM --notNull enum type --class ~.client.shared.domain.model.contract.Salutation enum constant --name FEMALE enum constant --name MALE enum type --class ~.client.shared.domain.model.contract.Country enum constant --name AUSTRIA entity --class ~.domain.model.contract.Customer --extends ~.domain.model.basic.CrudInfo --testAutomatically field enum --fieldName salutation --type ~.client.shared.domain.model.contract.Salutation --notNull field string --fieldName title --sizeMax 30 field string --fieldName firstName --notNull --sizeMin 2 --sizeMax 100 field string --fieldName lastName --notNull --sizeMin 2 --sizeMax 100 field string --fieldName street --notNull --sizeMin 2 --sizeMax 200 field string --fieldName zip --notNull --sizeMin 2 --sizeMax 10 field string --fieldName city --notNull --sizeMin 2 --sizeMax 100 field enum --fieldName country --type ~.client.shared.domain.model.contract.Country --notNull field string --fieldName email --notNull --sizeMin 5 --sizeMax 150 field string --fieldName phone --notNull --sizeMin 5 --sizeMax 50 field boolean --fieldName activated --notNull --comment "True if email activation has succeeded" finder add --finderName findCustomersByFirstNameLike finder add --finderName findCustomersByLastNameLike entity --class ~.domain.model.contract.BonusCard --extends ~.domain.model.basic.CrudInfo --testAutomatically field number --type java.lang.Long --fieldName cardNumber --notNull finder add --finderName findBonusCardsByCardNumber gwt setup perform package {quote} Stack trace: [INFO] create exploded Jetty webapp in C:\roo\target\Frip-0.1.0.BUILD-SNAPSHOT [ERROR] 20.10.2010 13:58:16 com.google.gwt.requestfactory.server.RequestFactoryServlet doPost [ERROR] SCHWERWIEGEND: Unexpected error [ERROR] com.google.gwt.requestfactory.server.RequestProcessingException: Unexpected exception [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor .java:242) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor .java:62) [ERROR] at com.google.gwt.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:122) [ERROR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [ERROR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [ERROR] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) [ERROR] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77 ) [ERROR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) [ERROR] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java: 88) [ERROR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) [ERROR] at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerI nViewFilter.java:113) [ERROR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) [ERROR] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) [ERROR] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [ERROR] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) [ERROR] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) [ERROR] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) [ERROR] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) [ERROR] at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) [ERROR] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) [ERROR] at org.mortbay.jetty.Server.handle(Server.java:324) [ERROR] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) [ERROR] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) [ERROR] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) [ERROR] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) [ERROR] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) [ERROR] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) [ERROR] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) [ERROR] Caused by: java.lang.IllegalArgumentException: Unknown operation at.frip.client.managed.request.BonusCardRequest ::persist [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.getOperation(JsonRequestProcessor.java:702) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.processJsonRequest(JsonRequestProcessor.jav a:844) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor .java:232) [ERROR] ... 31 more [ERROR] Wed Oct 20 13:58:28 CEST 2010 at.frip.client.scaffold.Scaffold [ERROR] SEVERE: One or more exceptions caught, see full set in UmbrellaException#getCauses [ERROR] com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException# getCauses [ERROR] at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:214) [ERROR] at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:103) [ERROR] at com.google.gwt.place.shared.PlaceController.goTo(PlaceController.java:120) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity.exit(AbstractProxyEditActivity.java:134) [ERROR] at at.frip.client.scaffold.place.CreateAndEditProxy.exit(CreateAndEditProxy.java:44) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:97 ) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:1) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequest Context.java:394) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTrans port.java:140) [ERROR] at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287) [ERROR] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServ er.java:326) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) [ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:562) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) [ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) [ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java) [ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) [ERROR] at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) [ERROR] at java.lang.Thread.run(Thread.java:619) [ERROR] Caused by: com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in Umbrell aException#getCauses [ERROR] at com.google.gwt.activity.shared.ActivityManager.onPlaceChange(ActivityManager.java:176) [ERROR] at com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:57) [ERROR] at com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:1) [ERROR] at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:204) [ERROR] at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:103) [ERROR] at com.google.gwt.place.shared.PlaceController.goTo(PlaceController.java:120) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity.exit(AbstractProxyEditActivity.java:134) [ERROR] at at.frip.client.scaffold.place.CreateAndEditProxy.exit(CreateAndEditProxy.java:44) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:97 ) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:1) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequest Context.java:394) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTrans port.java:140) [ERROR] at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287) [ERROR] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServ er.java:326) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) [ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:562) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) [ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) [ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java) [ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) [ERROR] at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) [ERROR] at java.lang.Thread.run(Thread.java:619) [ERROR] Caused by: java.lang.IllegalArgumentException: Cannot fetch unpersisted entity [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestFactory.find(AbstractRequestFactory.java:103 ) [ERROR] at at.frip.client.managed.activity.BonusCardDetailsActivity.start(BonusCardDetailsActivity.java:106) [ERROR] at com.google.gwt.activity.shared.ActivityManager.onPlaceChange(ActivityManager.java:161) [ERROR] at com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:57) [ERROR] at com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:1) [ERROR] at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:204) [ERROR] at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:103) [ERROR] at com.google.gwt.place.shared.PlaceController.goTo(PlaceController.java:120) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity.exit(AbstractProxyEditActivity.java:134) [ERROR] at at.frip.client.scaffold.place.CreateAndEditProxy.exit(CreateAndEditProxy.java:44) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:97 ) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:1) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequest Context.java:394) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTrans port.java:140) [ERROR] at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287) [ERROR] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServ er.java:326) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) [ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:562) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) [ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) [ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java) [ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) [ERROR] at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) [ERROR] at java.lang.Thread.run(Thread.java:619) [ERROR] 20.10.2010 13:58:32 com.google.gwt.requestfactory.server.RequestFactoryServlet doPost [ERROR] SCHWERWIEGEND: Unexpected error [ERROR] com.google.gwt.requestfactory.server.RequestProcessingException: Unexpected exception [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor .java:238) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor .java:62) [ERROR] at com.google.gwt.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:122) [ERROR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [ERROR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [ERROR] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) [ERROR] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77 ) [ERROR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) [ERROR] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java: 88) [ERROR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) [ERROR] at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerI nViewFilter.java:113) [ERROR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) [ERROR] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) [ERROR] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [ERROR] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) [ERROR] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) [ERROR] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) [ERROR] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) [ERROR] at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) [ERROR] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) [ERROR] at org.mortbay.jetty.Server.handle(Server.java:324) [ERROR] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) [ERROR] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) [ERROR] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) [ERROR] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) [ERROR] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) [ERROR] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) [ERROR] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) [ERROR] Caused by: java.lang.reflect.InvocationTargetException [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.invokeDomainMethod(JsonRequestProcessor.jav a:828) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.processJsonRequest(JsonRequestProcessor.jav a:886) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor .java:232) [ERROR] ... 31 more [ERROR] Caused by: java.lang.IllegalStateException: Can't overwrite cause [ERROR] at java.lang.Throwable.initCause(Throwable.java:320) [ERROR] at com.google.gwt.logging.server.StackTraceDeobfuscator.deobfuscateThrowable(StackTraceDeobfuscator.java :90) [ERROR] at com.google.gwt.logging.server.StackTraceDeobfuscator.deobfuscateThrowable(StackTraceDeobfuscator.java :90) [ERROR] at com.google.gwt.logging.server.StackTraceDeobfuscator.deobfuscateLogRecord(StackTraceDeobfuscator.java :60) [ERROR] at com.google.gwt.logging.server.RemoteLoggingServiceUtil.logOnServer(RemoteLoggingServiceUtil.java:58) [ERROR] at com.google.gwt.logging.server.RemoteLoggingServiceUtil.logOnServer(RemoteLoggingServiceUtil.java:73) [ERROR] at com.google.gwt.requestfactory.server.Logging.logMessage(Logging.java:40) [ERROR] ... 38 more [ERROR] Wed Oct 20 13:58:55 CEST 2010 at.frip.client.scaffold.Scaffold [ERROR] SEVERE: Server Error: Can't overwrite cause [ERROR] java.lang.RuntimeException: Server Error: Can't overwrite cause [ERROR] at com.google.gwt.requestfactory.shared.Receiver.onFailure(Receiver.java:36) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequest.fail(AbstractRequest.java:187) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequest.handleResponseText(AbstractRequest.java:96) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequest Context.java:390) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTrans port.java:140) [ERROR] at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287) [ERROR] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServ er.java:326) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) [ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:562) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) [ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) [ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java) [ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) [ERROR] at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) [ERROR] at java.lang.Thread.run(Thread.java:619) [ERROR] 20.10.2010 13:58:55 com.google.gwt.logging.server.RemoteLoggingServiceUtil logOnServer [ERROR] SCHWERWIEGEND: Server Error: Can't overwrite cause [ERROR] java.lang.Throwable: Server Error: Can't overwrite cause [ERROR] at com.google.gwt.requestfactory.shared.Receiver.onFailure(Receiver.java:36) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequest.fail(AbstractRequest.java:187) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequest.handleResponseText(AbstractRequest.java:96) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequest Context.java:390) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTrans port.java:140) [ERROR] at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287) [ERROR] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServ er.java:326) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) [ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:562) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) [ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) [ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java) [ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) [ERROR] at sun.reflect.GeneratedMethodAccessor40.invoke() [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) [ERROR] at java.lang.Thread.run(Thread.java:619)

    Spring JIRA | 6 years ago | Johannes Weidl-Rektenwald
    com.google.gwt.requestfactory.server.RequestProcessingException: Unexpected exception
  2. 0

    When I use the following ROO script, I get the exeptions below when creating a e.g. "BonusCard" instance. The reason is the use of a "mappedSuperclass". Without inheriting from a superclass, the example works... {quote} project --topLevelPackage at.frip --projectName Frip persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY entity --class ~.domain.model.basic.CrudInfo --mappedSuperclass field string --fieldName createUser --notNull --sizeMin 2 --sizeMax 100 field date --type java.util.Date --fieldName createDate --timeFormat MEDIUM --notNull field string --fieldName updateUser --notNull --sizeMin 2 --sizeMax 100 field date --type java.util.Date --fieldName updateDate --timeFormat MEDIUM --notNull enum type --class ~.client.shared.domain.model.contract.Salutation enum constant --name FEMALE enum constant --name MALE enum type --class ~.client.shared.domain.model.contract.Country enum constant --name AUSTRIA entity --class ~.domain.model.contract.Customer --extends ~.domain.model.basic.CrudInfo --testAutomatically field enum --fieldName salutation --type ~.client.shared.domain.model.contract.Salutation --notNull field string --fieldName title --sizeMax 30 field string --fieldName firstName --notNull --sizeMin 2 --sizeMax 100 field string --fieldName lastName --notNull --sizeMin 2 --sizeMax 100 field string --fieldName street --notNull --sizeMin 2 --sizeMax 200 field string --fieldName zip --notNull --sizeMin 2 --sizeMax 10 field string --fieldName city --notNull --sizeMin 2 --sizeMax 100 field enum --fieldName country --type ~.client.shared.domain.model.contract.Country --notNull field string --fieldName email --notNull --sizeMin 5 --sizeMax 150 field string --fieldName phone --notNull --sizeMin 5 --sizeMax 50 field boolean --fieldName activated --notNull --comment "True if email activation has succeeded" finder add --finderName findCustomersByFirstNameLike finder add --finderName findCustomersByLastNameLike entity --class ~.domain.model.contract.BonusCard --extends ~.domain.model.basic.CrudInfo --testAutomatically field number --type java.lang.Long --fieldName cardNumber --notNull finder add --finderName findBonusCardsByCardNumber gwt setup perform package {quote} Stack trace: [INFO] create exploded Jetty webapp in C:\roo\target\Frip-0.1.0.BUILD-SNAPSHOT [ERROR] 20.10.2010 13:58:16 com.google.gwt.requestfactory.server.RequestFactoryServlet doPost [ERROR] SCHWERWIEGEND: Unexpected error [ERROR] com.google.gwt.requestfactory.server.RequestProcessingException: Unexpected exception [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor .java:242) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor .java:62) [ERROR] at com.google.gwt.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:122) [ERROR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [ERROR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [ERROR] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) [ERROR] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77 ) [ERROR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) [ERROR] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java: 88) [ERROR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) [ERROR] at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerI nViewFilter.java:113) [ERROR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) [ERROR] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) [ERROR] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [ERROR] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) [ERROR] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) [ERROR] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) [ERROR] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) [ERROR] at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) [ERROR] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) [ERROR] at org.mortbay.jetty.Server.handle(Server.java:324) [ERROR] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) [ERROR] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) [ERROR] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) [ERROR] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) [ERROR] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) [ERROR] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) [ERROR] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) [ERROR] Caused by: java.lang.IllegalArgumentException: Unknown operation at.frip.client.managed.request.BonusCardRequest ::persist [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.getOperation(JsonRequestProcessor.java:702) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.processJsonRequest(JsonRequestProcessor.jav a:844) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor .java:232) [ERROR] ... 31 more [ERROR] Wed Oct 20 13:58:28 CEST 2010 at.frip.client.scaffold.Scaffold [ERROR] SEVERE: One or more exceptions caught, see full set in UmbrellaException#getCauses [ERROR] com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException# getCauses [ERROR] at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:214) [ERROR] at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:103) [ERROR] at com.google.gwt.place.shared.PlaceController.goTo(PlaceController.java:120) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity.exit(AbstractProxyEditActivity.java:134) [ERROR] at at.frip.client.scaffold.place.CreateAndEditProxy.exit(CreateAndEditProxy.java:44) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:97 ) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:1) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequest Context.java:394) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTrans port.java:140) [ERROR] at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287) [ERROR] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServ er.java:326) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) [ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:562) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) [ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) [ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java) [ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) [ERROR] at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) [ERROR] at java.lang.Thread.run(Thread.java:619) [ERROR] Caused by: com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in Umbrell aException#getCauses [ERROR] at com.google.gwt.activity.shared.ActivityManager.onPlaceChange(ActivityManager.java:176) [ERROR] at com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:57) [ERROR] at com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:1) [ERROR] at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:204) [ERROR] at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:103) [ERROR] at com.google.gwt.place.shared.PlaceController.goTo(PlaceController.java:120) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity.exit(AbstractProxyEditActivity.java:134) [ERROR] at at.frip.client.scaffold.place.CreateAndEditProxy.exit(CreateAndEditProxy.java:44) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:97 ) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:1) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequest Context.java:394) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTrans port.java:140) [ERROR] at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287) [ERROR] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServ er.java:326) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) [ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:562) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) [ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) [ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java) [ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) [ERROR] at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) [ERROR] at java.lang.Thread.run(Thread.java:619) [ERROR] Caused by: java.lang.IllegalArgumentException: Cannot fetch unpersisted entity [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestFactory.find(AbstractRequestFactory.java:103 ) [ERROR] at at.frip.client.managed.activity.BonusCardDetailsActivity.start(BonusCardDetailsActivity.java:106) [ERROR] at com.google.gwt.activity.shared.ActivityManager.onPlaceChange(ActivityManager.java:161) [ERROR] at com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:57) [ERROR] at com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:1) [ERROR] at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:204) [ERROR] at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:103) [ERROR] at com.google.gwt.place.shared.PlaceController.goTo(PlaceController.java:120) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity.exit(AbstractProxyEditActivity.java:134) [ERROR] at at.frip.client.scaffold.place.CreateAndEditProxy.exit(CreateAndEditProxy.java:44) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:97 ) [ERROR] at at.frip.client.scaffold.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:1) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequest Context.java:394) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTrans port.java:140) [ERROR] at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287) [ERROR] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServ er.java:326) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) [ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:562) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) [ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) [ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java) [ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) [ERROR] at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) [ERROR] at java.lang.Thread.run(Thread.java:619) [ERROR] 20.10.2010 13:58:32 com.google.gwt.requestfactory.server.RequestFactoryServlet doPost [ERROR] SCHWERWIEGEND: Unexpected error [ERROR] com.google.gwt.requestfactory.server.RequestProcessingException: Unexpected exception [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor .java:238) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor .java:62) [ERROR] at com.google.gwt.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:122) [ERROR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [ERROR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [ERROR] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) [ERROR] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77 ) [ERROR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) [ERROR] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java: 88) [ERROR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) [ERROR] at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerI nViewFilter.java:113) [ERROR] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [ERROR] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) [ERROR] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) [ERROR] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [ERROR] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) [ERROR] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) [ERROR] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) [ERROR] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) [ERROR] at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) [ERROR] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) [ERROR] at org.mortbay.jetty.Server.handle(Server.java:324) [ERROR] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) [ERROR] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) [ERROR] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) [ERROR] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) [ERROR] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) [ERROR] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) [ERROR] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) [ERROR] Caused by: java.lang.reflect.InvocationTargetException [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.invokeDomainMethod(JsonRequestProcessor.jav a:828) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.processJsonRequest(JsonRequestProcessor.jav a:886) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor .java:232) [ERROR] ... 31 more [ERROR] Caused by: java.lang.IllegalStateException: Can't overwrite cause [ERROR] at java.lang.Throwable.initCause(Throwable.java:320) [ERROR] at com.google.gwt.logging.server.StackTraceDeobfuscator.deobfuscateThrowable(StackTraceDeobfuscator.java :90) [ERROR] at com.google.gwt.logging.server.StackTraceDeobfuscator.deobfuscateThrowable(StackTraceDeobfuscator.java :90) [ERROR] at com.google.gwt.logging.server.StackTraceDeobfuscator.deobfuscateLogRecord(StackTraceDeobfuscator.java :60) [ERROR] at com.google.gwt.logging.server.RemoteLoggingServiceUtil.logOnServer(RemoteLoggingServiceUtil.java:58) [ERROR] at com.google.gwt.logging.server.RemoteLoggingServiceUtil.logOnServer(RemoteLoggingServiceUtil.java:73) [ERROR] at com.google.gwt.requestfactory.server.Logging.logMessage(Logging.java:40) [ERROR] ... 38 more [ERROR] Wed Oct 20 13:58:55 CEST 2010 at.frip.client.scaffold.Scaffold [ERROR] SEVERE: Server Error: Can't overwrite cause [ERROR] java.lang.RuntimeException: Server Error: Can't overwrite cause [ERROR] at com.google.gwt.requestfactory.shared.Receiver.onFailure(Receiver.java:36) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequest.fail(AbstractRequest.java:187) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequest.handleResponseText(AbstractRequest.java:96) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequest Context.java:390) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTrans port.java:140) [ERROR] at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287) [ERROR] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServ er.java:326) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) [ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:562) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) [ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) [ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java) [ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) [ERROR] at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) [ERROR] at java.lang.Thread.run(Thread.java:619) [ERROR] 20.10.2010 13:58:55 com.google.gwt.logging.server.RemoteLoggingServiceUtil logOnServer [ERROR] SCHWERWIEGEND: Server Error: Can't overwrite cause [ERROR] java.lang.Throwable: Server Error: Can't overwrite cause [ERROR] at com.google.gwt.requestfactory.shared.Receiver.onFailure(Receiver.java:36) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequest.fail(AbstractRequest.java:187) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequest.handleResponseText(AbstractRequest.java:96) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequest Context.java:390) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTrans port.java:140) [ERROR] at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287) [ERROR] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServ er.java:326) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) [ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:562) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) [ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) [ERROR] at com.google.gwt.core.client.impl.Impl.apply(Impl.java) [ERROR] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) [ERROR] at sun.reflect.GeneratedMethodAccessor40.invoke() [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) [ERROR] at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) [ERROR] at java.lang.Thread.run(Thread.java:619)

    Spring JIRA | 6 years ago | Johannes Weidl-Rektenwald
    com.google.gwt.requestfactory.server.RequestProcessingException: Unexpected exception

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unknown operation at.frip.client.managed.request.BonusCardRequest ::persist

      at com.google.gwt.requestfactory.server.JsonRequestProcessor.getOperation()
    2. com.google.gwt
      JsonRequestProcessor.getOperation
      1. com.google.gwt.requestfactory.server.JsonRequestProcessor.getOperation(JsonRequestProcessor.java:702)
      1 frame