Today we have switched our gwt 1.6 project to gwt trunk in order to
use the OOPHM (we are having serious css issues with mozilla 1.7.13 so
we strongly need OOPHM).  However there's a problem when running
OOPHM, I could not find out the cause.  This is what happens:


1ST EXCEPTION

00:00:21.920 [WARN] accountServiceImpl: ERROR: Failed to parse the
policy file '/kastle/6962D2E90868F741A6285DB24370E272.gwt.rpc'
java.text.ParseException: Expected: className, [true | false] at
com.google.gwt.user.server.rpc.SerializationPolicyLoader.loadFromStream
(SerializationPolicyLoader.java:116) at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doGetSerializationPolicy
(RemoteServiceServlet.java:234) at
com.google.gwt.user.server.rpc.RemoteServiceServlet.getSerializationPolicy
(RemoteServiceServlet.java:117) at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead
(ServerSerializationStreamReader.java:429) at
com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:234) at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
(RemoteServiceServlet.java:164) at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
(RemoteServiceServlet.java:86) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
362) at org.mortbay.jetty.security.SecurityHandler.handle
(SecurityHandler.java:216) at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181) at org.mortbay.jetty.handler.ContextHandler.handle
(ContextHandler.java:729) at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152) at org.mortbay.jetty.handler.RequestLogHandler.handle
(RequestLogHandler.java:49) at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152) at org.mortbay.jetty.Server.handle(Server.java:324) at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
505) at org.mortbay.jetty.HttpConnection$RequestHandler.content
(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext
(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable
(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle
(HttpConnection.java:380) at
org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:488)


2ND EXCEPTION

00:00:21.921 [WARN] accountServiceImpl: WARNING: Failed to get the
SerializationPolicy '6962D2E90868F741A6285DB24370E272' for module
'http://localhost:8888/kastle/'; a legacy, 1.3.3 compatible,
serialization policy will be used. You may experience
SerializationExceptions as a result.


3RD EXCEPTION

00:00:21.921 [WARN] accountServiceImpl: An
IncompatibleRemoteServiceException was thrown while processing this
call.
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
Parameter 0 of is of an unknown type 'java.lang.String/2004016611' at
com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:277) at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
(RemoteServiceServlet.java:164) at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
(RemoteServiceServlet.java:86) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
362) at org.mortbay.jetty.security.SecurityHandler.handle
(SecurityHandler.java:216) at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181) at org.mortbay.jetty.handler.ContextHandler.handle
(ContextHandler.java:729) at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152) at org.mortbay.jetty.handler.RequestLogHandler.handle
(RequestLogHandler.java:49) at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152) at org.mortbay.jetty.Server.handle(Server.java:324) at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
505) at org.mortbay.jetty.HttpConnection$RequestHandler.content
(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext
(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable
(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle
(HttpConnection.java:380) at
org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:488) Caused by:
java.lang.ClassNotFoundException: java.lang.String/2004016611 at
java.lang.Class.forName0(Native Method) at java.lang.Class.forName
(Class.java:247) at
com.google.gwt.user.server.rpc.RPC.getClassFromSerializedName(RPC.java:
657) at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:274)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
(RemoteServiceServlet.java:164) at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
(RemoteServiceServlet.java:86) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
362) at org.mortbay.jetty.security.SecurityHandler.handle
(SecurityHandler.java:216) at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181) at org.mortbay.jetty.handler.ContextHandler.handle
(ContextHandler.java:729) at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152) at org.mortbay.jetty.handler.RequestLogHandler.handle
(RequestLogHandler.java:49) at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152) at org.mortbay.jetty.Server.handle(Server.java:324) at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
505) at org.mortbay.jetty.HttpConnection$RequestHandler.content
(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext
(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable
(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle
(HttpConnection.java:380) at
org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:488)



Here are the steps I took while switching to trunk/oophm:

- compiled gwt trunk revision 5730
- removed gwt 1.6 references from the project
- added r5730 jars (including oophm jar)
- moved oophm jar to the top of the classpath priority list
- cleaned up the build directory
- installed oophm firefox extension
- launched the project from eclipse

The application rendered correctly the home page, but failed when
making the first async request.  I have checked the accountServiceImpl
interface and its methods match with its async methods (it was working
fine before the switch anyway).

Have anybody faced this problem before?


Cheers,

Célio
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to