You cannot return StreamingQueryResult from your RPC Method. The RPC Method must return an object that implements Serializable and has a default no-args constructor. Also, this class should not depend on any server specific class.
Remember - the object you return from your RPC method will ultimately be converted to javascript, so you really cannot return any arbitrary class. On Sep 8, 1:19 am, vasem want <want.va...@gmail.com> wrote: > This is no RPC issue but it is the thread invokation > it seems all yours threads are busy and on top of > that it is not able to find the object you are riding > the data on , check your object response and check > your pooling first > > On Mon, Sep 7, 2009 at 6:08 PM, webnazar <webna...@gmail.com> wrote: > > > Mudassar Nazar : Software Engineer > > > This is not only a problem, but also a bug issue, i was trying from > > app the possiblities of trial and error method for ruuning the program > > but it is failed. > > > Sep 7, 2009 3:32:55 PM > > com.google.appengine.tools.development.ApiProxyLocalImpl log > > SEVERE: [1252317775578000] javax.servlet.ServletContext log: Exception > > while dispatching incoming RPC call > > com.google.gwt.user.client.rpc.SerializationException: Type > > 'org.datanucleus.store.appengine.query.StreamingQueryResult' was not > > included in the set of types which can be serialized by this > > SerializationPolicy or its Class object could not be loaded. For > > security purposes, this type will not be serialized. > > at > > > com.google.gwt.user.server.rpc.impl.StandardSerializationPolicy.validateSerialize > > (StandardSerializationPolicy.java:83) > > at > > > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize > > (ServerSerializationStreamWriter.java:591) > > at > > > com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject > > (AbstractSerializationStreamWriter.java:129) > > at > > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter > > $ValueWriter$8.write(ServerSerializationStreamWriter.java:146) > > at > > > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue > > (ServerSerializationStreamWriter.java:530) > > at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:573) > > at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess > > (RPC.java:441) > > at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse > > (RPC.java:529) > > at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall > > (RemoteServiceServlet.java:166) > > at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost > > (RemoteServiceServlet.java:86) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > > at > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > > 487) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > (ServletHandler.java:1093) > > at > > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter > > (TransactionCleanupFilter.java:43) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > (ServletHandler.java:1084) > > at com.google.appengine.tools.development.StaticFileFilter.doFilter > > (StaticFileFilter.java:121) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > (ServletHandler.java:1084) > > at org.mortbay.jetty.servlet.ServletHandler.handle > > (ServletHandler.java:360) > > at org.mortbay.jetty.security.SecurityHandler.handle > > (SecurityHandler.java:216) > > at org.mortbay.jetty.servlet.SessionHandler.handle > > (SessionHandler.java:181) > > at org.mortbay.jetty.handler.ContextHandler.handle > > (ContextHandler.java:712) > > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > > 405) > > at > > com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle > > (DevAppEngineWebAppContext.java:54) > > at org.mortbay.jetty.handler.HandlerWrapper.handle > > (HandlerWrapper.java:139) > > at com.google.appengine.tools.development.JettyContainerService > > $ApiProxyHandler.handle(JettyContainerService.java:313) > > at org.mortbay.jetty.handler.HandlerWrapper.handle > > (HandlerWrapper.java:139) > > at org.mortbay.jetty.Server.handle(Server.java:313) > > at > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > > 506) > > at org.mortbay.jetty.HttpConnection$RequestHandler.content > > (HttpConnection.java:844) > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644) > > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) > > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) > > at org.mortbay.io.nio.SelectChannelEndPoint.run > > (SelectChannelEndPoint.java:396) > > at org.mortbay.thread.BoundedThreadPool$PoolThread.run > > (BoundedThreadPool.java:442) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---