You have an instance of the old version of that object serialized in one of your HttpSessions. You need to discard that HttpSession from your datastore.
On Wed, Jul 7, 2010 at 2:45 PM, Daniel <[email protected]> wrote: > Hi i tried to deploy my application onto google after testing it > localy > > and got java.lang.ClassNotFoundException : > > javax.servlet.ServletException: java.lang.RuntimeException: > java.lang.ClassNotFoundException: dr.todo.ToBuyBean > > the thing is that the class "ToBuyBean" isnt located in package > dr.todo (this is how it was long time ago, now the class "ToBuyBean" > located in dr.todo.beans.. that why it weird to get this error > pointing on package that is not populated by any classes.. i searched > the workspace and i have no references at all to "dr.todo.ToBuyBean" > > is there any cache i can clean in google app engine? > > the previous app that was deplyed to google app engine had the > ToBuyBean class in the dr.todo package but in the current application > its not... > > again, i did check over all the application.. but no references at all > to dr.todo.ToBuyBean > > i'm posting the entire trace > > Thanks ahead for the help > > > # > > 84.109.9.2 - vedmack [07/Jul/2010:11:44:25 -0700] "GET / HTTP/1.1" 500 > 0 - "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/ > 20100625 Firefox/3.6.6,gzip(gfe)" "vedmack.appspot.com" ms=4669 > cpu_ms=6319 api_cpu_ms=0 cpm_usd=0.175611 loading_request=1 > > # > W 07-07 11:44AM 24.467 > > [vedmack/1.343201784113727737].<stderr>: SystemId Unknown; Line #57; > Column #31; Failed calling setMethod method > > > # > W 07-07 11:44AM 25.137 > > http://vedmack.appspot.com/ > javax.servlet.ServletException: java.lang.RuntimeException: > java.lang.ClassNotFoundException: dr.todo.ToBuyBean > at > > com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java: > 240) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > 152) > at org.mortbay.jetty.Server.handle(Server.java:326) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > 542) > at org.mortbay.jetty.HttpConnection > $RequestHandler.headerComplete(HttpConnection.java:923) > at > > com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java: > 76) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at > > com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java: > 135) > at > com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java: > 250) > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > $6.handleBlockingRequest(RuntimePb.java:7115) > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > $6.handleBlockingRequest(RuntimePb.java:7113) > at > > com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java: > 24) > at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: > 398) > at com.google.net.rpc.impl.Server$2.run(Server.java:852) > at > com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java: > 56) > at > > com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java: > 576) > at com.google.net.rpc.impl.Server.startRpc(Server.java:807) > at com.google.net.rpc.impl.Server.processRequest(Server.java:369) > at > > com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java: > 442) > at > com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java: > 319) > at > com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java: > 290) > at com.google.net.async.Connection.handleReadEvent(Connection.java: > 474) > at > > com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java: > 831) > at > com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java: > 207) > at com.google.net.async.EventDispatcher.loop(EventDispatcher.java: > 103) > at > com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java: > 251) > at com.google.apphosting.runtime.JavaRuntime > $RpcRunnable.run(JavaRuntime.java:417) > at java.lang.Thread.run(Unknown Source) > Caused by: java.lang.RuntimeException: > java.lang.ClassNotFoundException: dr.todo.ToBuyBean > at > > com.google.apphosting.runtime.jetty.SessionManager.deserialize(SessionManager.java: > 389) > at > > com.google.apphosting.runtime.jetty.SessionManager.loadSession(SessionManager.java: > 307) > at > > com.google.apphosting.runtime.jetty.SessionManager.getSession(SessionManager.java: > 282) > at > > org.mortbay.jetty.servlet.AbstractSessionManager.getHttpSession(AbstractSessionManager.java: > 237) > at > > org.mortbay.jetty.servlet.SessionHandler.setRequestedId(SessionHandler.java: > 246) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: > 136) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: > 765) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > 418) > at > > com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java: > 238) > ... 27 more > Caused by: java.lang.ClassNotFoundException: dr.todo.ToBuyBean > at com.google.appengine.runtime.Request.process- > e030ba14e31e6678(Request.java) > at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) > at java.io.ObjectInputStream.readClassDesc(Unknown Source) > at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) > at java.io.ObjectInputStream.readObject0(Unknown Source) > at java.io.ObjectInputStream.readObject(Unknown Source) > at java.util.HashMap.readObject(Unknown Source) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at java.io.ObjectStreamClass.invokeReadObject(Unknown Source) > at java.io.ObjectInputStream.readSerialData(Unknown Source) > at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) > at java.io.ObjectInputStream.readObject0(Unknown Source) > at java.io.ObjectInputStream.defaultReadFields(Unknown Source) > at java.io.ObjectInputStream.readSerialData(Unknown Source) > at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) > at java.io.ObjectInputStream.readObject0(Unknown Source) > at java.io.ObjectInputStream.readObject(Unknown Source) > at > > com.google.apphosting.runtime.jetty.SessionManager.deserialize(SessionManager.java: > 385) > ... 35 more > > # > W 07-07 11:44AM 25.140 > > Nested in javax.servlet.ServletException: java.lang.RuntimeException: > java.lang.ClassNotFoundException: dr.todo.ToBuyBean: > java.lang.RuntimeException: java.lang.ClassNotFoundException: > dr.todo.ToBuyBean > at > > com.google.apphosting.runtime.jetty.SessionManager.deserialize(SessionManager.java: > 389) > at > > com.google.apphosting.runtime.jetty.SessionManager.loadSession(SessionManager.java: > 307) > at > > com.google.apphosting.runtime.jetty.SessionManager.getSession(SessionManager.java: > 282) > at > > org.mortbay.jetty.servlet.AbstractSessionManager.getHttpSession(AbstractSessionManager.java: > 237) > at > > org.mortbay.jetty.servlet.SessionHandler.setRequestedId(SessionHandler.java: > 246) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: > 136) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: > 765) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > 418) > at > > com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java: > 238) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > 152) > at org.mortbay.jetty.Server.handle(Server.java:326) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > 542) > at org.mortbay.jetty.HttpConnection > $RequestHandler.headerComplete(HttpConnection.java:923) > at > > com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java: > 76) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at > > com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java: > 135) > at > com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java: > 250) > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > $6.handleBlockingRequest(RuntimePb.java:7115) > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > $6.handleBlockingRequest(RuntimePb.java:7113) > at > > com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java: > 24) > at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: > 398) > at com.google.net.rpc.impl.Server$2.run(Server.java:852) > at > com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java: > 56) > at > > com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java: > 576) > at com.google.net.rpc.impl.Server.startRpc(Server.java:807) > at com.google.net.rpc.impl.Server.processRequest(Server.java:369) > at > > com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java: > 442) > at > com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java: > 319) > at > com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java: > 290) > at com.google.net.async.Connection.handleReadEvent(Connection.java: > 474) > at > > com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java: > 831) > at > com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java: > 207) > at com.google.net.async.EventDispatcher.loop(EventDispatcher.java: > 103) > at > com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java: > 251) > at com.google.apphosting.runtime.JavaRuntime > $RpcRunnable.run(JavaRuntime.java:417) > at java.lang.Thread.run(Unknown Source) > Caused by: java.lang.ClassNotFoundException: dr.todo.ToBuyBean > at com.google.appengine.runtime.Request.process- > e030ba14e31e6678(Request.java) > at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) > at java.io.ObjectInputStream.readClassDesc(Unknown Source) > at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) > at java.io.ObjectInputStream.readObject0(Unknown Source) > at java.io.ObjectInputStream.readObject(Unknown Source) > at java.util.HashMap.readObject(Unknown Source) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at java.io.ObjectStreamClass.invokeReadObject(Unknown Source) > at java.io.ObjectInputStream.readSerialData(Unknown Source) > at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) > at java.io.ObjectInputStream.readObject0(Unknown Source) > at java.io.ObjectInputStream.defaultReadFields(Unknown Source) > at java.io.ObjectInputStream.readSerialData(Unknown Source) > at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) > at java.io.ObjectInputStream.readObject0(Unknown Source) > at java.io.ObjectInputStream.readObject(Unknown Source) > at > > com.google.apphosting.runtime.jetty.SessionManager.deserialize(SessionManager.java: > 385) > ... 35 more > > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
