java.lang.RuntimeException: Server Error: Can't overwrite cause

Spring JIRA | Johannes Weidl-Rektenwald | 6 years ago
  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
    java.lang.RuntimeException: Server Error: Can't overwrite cause
  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
    java.lang.RuntimeException: Server Error: Can't overwrite cause
  3. 0

    The attached script successfully generates a GWT app via Roo which include a boolean --primitive field. When running the app, the following stack trace is generated when saving an object that uses the boolean field: [INFO] 2010-10-06 15:17:36,266 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Using EntityManagerFactory 'entityManagerFactory' for OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:36,267 [btpool0-0] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'entityManagerFactory' [INFO] 2010-10-06 15:17:36,267 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Opening JPA EntityManager in OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:36,267 [btpool0-0] DEBUG org.hibernate.impl.SessionImpl - opened session at timestamp: 12863926562 [INFO] 2010-10-06 15:17:36,271 [btpool0-0] DEBUG org.springframework.beans.factory.annotation.InjectionMetadata - Processing injected method of bean 'org.springsource.roo.petclinic.server.domain.Pet': PersistenceElement for transient javax.persistence.EntityManager org.springsource.roo.petclinic.server.domain.Pet.entityManager [INFO] 2010-10-06 15:17:36,271 [btpool0-0] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'entityManagerFactory' [ERROR] Oct 6, 2010 3:17:36 PM com.google.gwt.requestfactory.server.RequestFactoryServlet doPost [ERROR] SEVERE: Unexpected error [ERROR] com.google.gwt.requestfactory.server.RequestProcessingException: Unexpected exception [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor.java:233) [INFO] 2010-10-06 15:17:36,278 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Closing JPA EntityManager in OpenEntityManagerInViewFilter [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor.java:62) [ERROR] at com.google.gwt.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:122) [INFO] 2010-10-06 15:17:36,279 [btpool0-0] DEBUG org.springframework.orm.jpa.EntityManagerFactoryUtils - Closing JPA EntityManager [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(OpenEntityManagerInViewFilter.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.NoSuchMethodException: org.springsource.roo.petclinic.server.domain.Pet.setSendReminders(java.lang.Boolean) [ERROR] at java.lang.Class.getMethod(Class.java:1622) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.getEntityDataForRecordWithSettersApplied(JsonRequestProcessor.java:516) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.constructAfterDvsDataMapAfterCallingSetters(JsonRequestProcessor.java:1090) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.processJsonRequest(JsonRequestProcessor.java:859) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor.java:223) [ERROR] ... 31 more [ERROR] Wed Oct 06 15:17:38 EDT 2010 org.springsource.roo.petclinic.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.app.place.PlaceController.goTo(PlaceController.java:120) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity.exit(AbstractProxyEditActivity.java:145) [ERROR] at com.google.gwt.app.place.CreateAndEditProxy.exit(CreateAndEditProxy.java:57) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:108) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:1) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequestContext.java:395) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.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:57) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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(BrowserChannelServer.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.GeneratedMethodAccessor39.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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:636) [ERROR] Caused by: com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses [ERROR] at com.google.gwt.app.place.ActivityManager.onPlaceChange(ActivityManager.java:173) [ERROR] at com.google.gwt.app.place.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:59) [ERROR] at com.google.gwt.app.place.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.app.place.PlaceController.goTo(PlaceController.java:120) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity.exit(AbstractProxyEditActivity.java:145) [ERROR] at com.google.gwt.app.place.CreateAndEditProxy.exit(CreateAndEditProxy.java:57) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:108) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:1) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequestContext.java:395) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.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:57) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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(BrowserChannelServer.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.GeneratedMethodAccessor39.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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:636) [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 org.springsource.roo.petclinic.client.ui.PetDetailsActivity.start(PetDetailsActivity.java:83) [ERROR] at com.google.gwt.app.place.ActivityManager.onPlaceChange(ActivityManager.java:158) [ERROR] at com.google.gwt.app.place.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:59) [ERROR] at com.google.gwt.app.place.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.app.place.PlaceController.goTo(PlaceController.java:120) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity.exit(AbstractProxyEditActivity.java:145) [ERROR] at com.google.gwt.app.place.CreateAndEditProxy.exit(CreateAndEditProxy.java:57) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:108) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:1) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequestContext.java:395) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.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:57) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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(BrowserChannelServer.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.GeneratedMethodAccessor39.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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:636) [INFO] 2010-10-06 15:17:39,697 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Using EntityManagerFactory 'entityManagerFactory' for OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:39,697 [btpool0-0] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'entityManagerFactory' [INFO] 2010-10-06 15:17:39,697 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Opening JPA EntityManager in OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:39,698 [btpool0-0] DEBUG org.hibernate.impl.SessionImpl - opened session at timestamp: 12863926596 [ERROR] Oct 6, 2010 3:17:39 PM com.google.gwt.requestfactory.server.RequestFactoryServlet doPost [ERROR] SEVERE: Unexpected error [ERROR] com.google.gwt.requestfactory.server.RequestProcessingException: Unexpected exception [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor.java:229) [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(OpenEntityManagerInViewFilter.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:57) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.invokeDomainMethod(JsonRequestProcessor.java:823) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.processJsonRequest(JsonRequestProcessor.java:881) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor.java:223) [ERROR] ... 31 more [ERROR] Caused by: java.lang.IllegalStateException: Can't overwrite cause [ERROR] at java.lang.Throwable.initCause(Throwable.java:337) [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 [INFO] 2010-10-06 15:17:39,812 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Closing JPA EntityManager in OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:39,812 [btpool0-0] DEBUG org.springframework.orm.jpa.EntityManagerFactoryUtils - Closing JPA EntityManager [ERROR] Wed Oct 06 15:17:40 EDT 2010 org.springsource.roo.petclinic.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(AbstractRequestContext.java:391) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.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.GeneratedMethodAccessor44.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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(BrowserChannelServer.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.GeneratedMethodAccessor39.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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:636) [INFO] 2010-10-06 15:17:41,182 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Using EntityManagerFactory 'entityManagerFactory' for OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:41,182 [btpool0-0] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'entityManagerFactory' [INFO] 2010-10-06 15:17:41,182 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Opening JPA EntityManager in OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:41,183 [btpool0-0] DEBUG org.hibernate.impl.SessionImpl - opened session at timestamp: 12863926611 [ERROR] Oct 6, 2010 3:17:40 PM com.google.gwt.logging.server.RemoteLoggingServiceUtil logOnServer [ERROR] SEVERE: 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(AbstractRequestContext.java:391) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.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.GeneratedMethodAccessor44.invoke() [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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(BrowserChannelServer.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.GeneratedMethodAccessor39.invoke() [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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:636) [INFO] 2010-10-06 15:17:41,193 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Closing JPA EntityManager in OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:41,193 [btpool0-0] DEBUG org.springframework.orm.jpa.EntityManagerFactoryUtils - Closing JPA EntityManager

    Spring JIRA | 6 years ago | Stephanie Brubaker
    java.lang.RuntimeException: Server Error: Can't overwrite cause
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The attached script successfully generates a GWT app via Roo which include a boolean --primitive field. When running the app, the following stack trace is generated when saving an object that uses the boolean field: [INFO] 2010-10-06 15:17:36,266 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Using EntityManagerFactory 'entityManagerFactory' for OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:36,267 [btpool0-0] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'entityManagerFactory' [INFO] 2010-10-06 15:17:36,267 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Opening JPA EntityManager in OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:36,267 [btpool0-0] DEBUG org.hibernate.impl.SessionImpl - opened session at timestamp: 12863926562 [INFO] 2010-10-06 15:17:36,271 [btpool0-0] DEBUG org.springframework.beans.factory.annotation.InjectionMetadata - Processing injected method of bean 'org.springsource.roo.petclinic.server.domain.Pet': PersistenceElement for transient javax.persistence.EntityManager org.springsource.roo.petclinic.server.domain.Pet.entityManager [INFO] 2010-10-06 15:17:36,271 [btpool0-0] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'entityManagerFactory' [ERROR] Oct 6, 2010 3:17:36 PM com.google.gwt.requestfactory.server.RequestFactoryServlet doPost [ERROR] SEVERE: Unexpected error [ERROR] com.google.gwt.requestfactory.server.RequestProcessingException: Unexpected exception [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor.java:233) [INFO] 2010-10-06 15:17:36,278 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Closing JPA EntityManager in OpenEntityManagerInViewFilter [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor.java:62) [ERROR] at com.google.gwt.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:122) [INFO] 2010-10-06 15:17:36,279 [btpool0-0] DEBUG org.springframework.orm.jpa.EntityManagerFactoryUtils - Closing JPA EntityManager [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(OpenEntityManagerInViewFilter.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.NoSuchMethodException: org.springsource.roo.petclinic.server.domain.Pet.setSendReminders(java.lang.Boolean) [ERROR] at java.lang.Class.getMethod(Class.java:1622) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.getEntityDataForRecordWithSettersApplied(JsonRequestProcessor.java:516) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.constructAfterDvsDataMapAfterCallingSetters(JsonRequestProcessor.java:1090) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.processJsonRequest(JsonRequestProcessor.java:859) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor.java:223) [ERROR] ... 31 more [ERROR] Wed Oct 06 15:17:38 EDT 2010 org.springsource.roo.petclinic.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.app.place.PlaceController.goTo(PlaceController.java:120) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity.exit(AbstractProxyEditActivity.java:145) [ERROR] at com.google.gwt.app.place.CreateAndEditProxy.exit(CreateAndEditProxy.java:57) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:108) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:1) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequestContext.java:395) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.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:57) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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(BrowserChannelServer.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.GeneratedMethodAccessor39.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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:636) [ERROR] Caused by: com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses [ERROR] at com.google.gwt.app.place.ActivityManager.onPlaceChange(ActivityManager.java:173) [ERROR] at com.google.gwt.app.place.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:59) [ERROR] at com.google.gwt.app.place.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.app.place.PlaceController.goTo(PlaceController.java:120) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity.exit(AbstractProxyEditActivity.java:145) [ERROR] at com.google.gwt.app.place.CreateAndEditProxy.exit(CreateAndEditProxy.java:57) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:108) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:1) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequestContext.java:395) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.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:57) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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(BrowserChannelServer.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.GeneratedMethodAccessor39.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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:636) [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 org.springsource.roo.petclinic.client.ui.PetDetailsActivity.start(PetDetailsActivity.java:83) [ERROR] at com.google.gwt.app.place.ActivityManager.onPlaceChange(ActivityManager.java:158) [ERROR] at com.google.gwt.app.place.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:59) [ERROR] at com.google.gwt.app.place.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.app.place.PlaceController.goTo(PlaceController.java:120) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity.exit(AbstractProxyEditActivity.java:145) [ERROR] at com.google.gwt.app.place.CreateAndEditProxy.exit(CreateAndEditProxy.java:57) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:108) [ERROR] at com.google.gwt.app.place.AbstractProxyEditActivity$1.onSuccess(AbstractProxyEditActivity.java:1) [ERROR] at com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequestContext.java:395) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.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:57) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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(BrowserChannelServer.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.GeneratedMethodAccessor39.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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:636) [INFO] 2010-10-06 15:17:39,697 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Using EntityManagerFactory 'entityManagerFactory' for OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:39,697 [btpool0-0] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'entityManagerFactory' [INFO] 2010-10-06 15:17:39,697 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Opening JPA EntityManager in OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:39,698 [btpool0-0] DEBUG org.hibernate.impl.SessionImpl - opened session at timestamp: 12863926596 [ERROR] Oct 6, 2010 3:17:39 PM com.google.gwt.requestfactory.server.RequestFactoryServlet doPost [ERROR] SEVERE: Unexpected error [ERROR] com.google.gwt.requestfactory.server.RequestProcessingException: Unexpected exception [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor.java:229) [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(OpenEntityManagerInViewFilter.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:57) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.invokeDomainMethod(JsonRequestProcessor.java:823) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.processJsonRequest(JsonRequestProcessor.java:881) [ERROR] at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor.java:223) [ERROR] ... 31 more [ERROR] Caused by: java.lang.IllegalStateException: Can't overwrite cause [ERROR] at java.lang.Throwable.initCause(Throwable.java:337) [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 [INFO] 2010-10-06 15:17:39,812 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Closing JPA EntityManager in OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:39,812 [btpool0-0] DEBUG org.springframework.orm.jpa.EntityManagerFactoryUtils - Closing JPA EntityManager [ERROR] Wed Oct 06 15:17:40 EDT 2010 org.springsource.roo.petclinic.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(AbstractRequestContext.java:391) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.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.GeneratedMethodAccessor44.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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(BrowserChannelServer.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.GeneratedMethodAccessor39.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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:636) [INFO] 2010-10-06 15:17:41,182 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Using EntityManagerFactory 'entityManagerFactory' for OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:41,182 [btpool0-0] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'entityManagerFactory' [INFO] 2010-10-06 15:17:41,182 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Opening JPA EntityManager in OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:41,183 [btpool0-0] DEBUG org.hibernate.impl.SessionImpl - opened session at timestamp: 12863926611 [ERROR] Oct 6, 2010 3:17:40 PM com.google.gwt.logging.server.RemoteLoggingServiceUtil logOnServer [ERROR] SEVERE: 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(AbstractRequestContext.java:391) [ERROR] at com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.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.GeneratedMethodAccessor44.invoke() [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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(BrowserChannelServer.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.GeneratedMethodAccessor39.invoke() [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.lang.reflect.Method.invoke(Method.java:616) [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:636) [INFO] 2010-10-06 15:17:41,193 [btpool0-0] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Closing JPA EntityManager in OpenEntityManagerInViewFilter [INFO] 2010-10-06 15:17:41,193 [btpool0-0] DEBUG org.springframework.orm.jpa.EntityManagerFactoryUtils - Closing JPA EntityManager

    Spring JIRA | 6 years ago | Stephanie Brubaker
    java.lang.RuntimeException: Server Error: Can't overwrite cause
  6. 0

    Upgrade JON2.3.1 to JON2.4GA_QA with postgres gives error - Failed to alter column. Cause: org.postgresql.util.PSQLException: ERROR: column "sender_name" contains null values

    https://bugzilla.redhat.com/bugzilla/ | 6 years ago | Rajan Timaniya
    java.lang.RuntimeException: Cannot run ANT on script [/NotBackedUp/install/jontag65/jon-server-2.4.0.GA_QA/logs/db-upgrade.xml]. Cause: /NotBackedUp/install/jontag65/jon-server-2.4.0.GA_QA/logs/db-upgrade.xml:27: Failed to upgrade - error in spec version [2.70.1]. Cause: Error executing the task [org.rhq.core.db.ant.dbupgrade.SST_AlterColumn] in schema spec version [2.70.1]. Cause: Failed to alter column. Cause: org.postgresql.util.PSQLException: ERROR: column "sender_name" contains null values

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Server Error: Can't overwrite cause

      at com.google.gwt.requestfactory.shared.Receiver.onFailure()
    2. com.google.gwt
      DefaultRequestTransport$1.onResponseReceived
      1. com.google.gwt.requestfactory.shared.Receiver.onFailure(Receiver.java:36)
      2. com.google.gwt.requestfactory.client.impl.AbstractRequest.fail(AbstractRequest.java:187)
      3. com.google.gwt.requestfactory.client.impl.AbstractRequest.handleResponseText(AbstractRequest.java:96)
      4. com.google.gwt.requestfactory.client.impl.AbstractRequestContext$4.onTransportSuccess(AbstractRequestContext.java:390)
      5. com.google.gwt.requestfactory.client.DefaultRequestTransport$1.onResponseReceived(DefaultRequestTransport.java:140)
      5 frames
    3. Vaadin
      RequestBuilder$1.onReadyStateChange
      1. com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
      2. com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. GWT dev
      Impl.entry0
      1. com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
      2. com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
      3. com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
      4. com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326)
      5. com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207)
      6. com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126)
      7. com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:562)
      8. com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
      9. com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
      10. com.google.gwt.core.client.impl.Impl.apply(Impl.java)
      11. com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
      11 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    7. GWT dev
      BrowserChannelServer.run
      1. com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
      2. com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
      3. com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
      4. com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
      5. com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
      6. com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
      6 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame