[xwiki-users] little issues with 2.2m2
Hello list, I thought I'd report the few issues I met with 2.2m2 which seems to be otherwise very nice to run. If you create a new document by triggering edit then try to switch to source... It does nothing and shows the following in the server console:
SEVERE: gwtrpc: IncompatibleRemoteServiceException in the processCall(String) method. 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 .xpn .xwiki .wysiwyg .server .XWikiRemoteServiceServlet .processCall(XWikiRemoteServiceServlet.java:52) 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 .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 290) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn .xwiki .wysiwyg .server .filter .XWikiContextInitializationFilter .doFilter(XWikiContextInitializationFilter.java:87) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java: 118) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java: 68) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn .xwiki .web .SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java: 295) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn .xwiki .web .SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java: 112) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org .apache .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 233) at org .apache .catalina.core.StandardContextValve.invoke(StandardContextValve.java: 191) at org .apache .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org .apache .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 567) at org .apache .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 109) at org .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 293) at org .apache.coyote.http11.Http11Processor.process(Http11Processor.java: 849) at org.apache.coyote.http11.Http11Protocol $Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint $Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) 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) ... 32 more
I get the same exception anytime I try to edit in Safari (the above one was in Camino) paul
Hi Paul, On Feb 5, 2010, at 3:43 PM, Paul Libbrecht wrote:
Hello list,
I thought I'd report the few issues I met with 2.2m2 which seems to be otherwise very nice to run.
If you create a new document by triggering edit then try to switch to source... It does nothing and shows the following in the server console:
I've tried to reproduce this but couldn't with XE 2.2 from trunk. Just to be sure, could you give precise steps you follow? (for ex, I'm not sure I understand "create a new document by triggering edit". Thanks -Vincent
SEVERE: gwtrpc: IncompatibleRemoteServiceException in the processCall(String) method. 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 .xpn .xwiki .wysiwyg .server .XWikiRemoteServiceServlet .processCall(XWikiRemoteServiceServlet.java:52) 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 .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 290) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn .xwiki .wysiwyg .server .filter .XWikiContextInitializationFilter .doFilter(XWikiContextInitializationFilter.java:87) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java: 118) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java: 68) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn .xwiki .web .SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java: 295) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn .xwiki .web .SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java: 112) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org .apache .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 233) at org .apache .catalina.core.StandardContextValve.invoke(StandardContextValve.java: 191) at org .apache .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org .apache .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 567) at org .apache .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 109) at org .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 293) at org .apache.coyote.http11.Http11Processor.process(Http11Processor.java: 849) at org.apache.coyote.http11.Http11Protocol $Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint $Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) 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) ... 32 more
I get the same exception anytime I try to edit in Safari (the above one was in Camino)
paul
Hi Paul, Paul Libbrecht wrote:
Hello list,
I thought I'd report the few issues I met with 2.2m2 which seems to be otherwise very nice to run.
If you create a new document by triggering edit then try to switch to source... It does nothing and shows the following in the server console:
SEVERE: gwtrpc: IncompatibleRemoteServiceException in the processCall(String) method. com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Parameter 0 of is of an unknown type 'java.lang.String/2004016611'
Are you sure you have gwt-servlet-2.0.0.jar in WEB-INF/lib ? Hope this helps, Marius
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java: 277) at com .xpn .xwiki .wysiwyg .server .XWikiRemoteServiceServlet .processCall(XWikiRemoteServiceServlet.java:52) 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 .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 290) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn .xwiki .wysiwyg .server .filter .XWikiContextInitializationFilter .doFilter(XWikiContextInitializationFilter.java:87) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java: 118) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java: 68) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn .xwiki .web .SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java: 295) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com .xpn .xwiki .web .SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java: 112) at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org .apache .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 233) at org .apache .catalina.core.StandardContextValve.invoke(StandardContextValve.java: 191) at org .apache .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org .apache .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 567) at org .apache .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 109) at org .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 293) at org .apache.coyote.http11.Http11Processor.process(Http11Processor.java: 849) at org.apache.coyote.http11.Http11Protocol $Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint $Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) 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) ... 32 more
I get the same exception anytime I try to edit in Safari (the above one was in Camino)
paul _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I did exactly this: - 2.2m2 download (webapp), installed on a tomcat - 2.2m2 xar install - adjusted a few params - try to open http://infinitea.eu/xwiki/bin/view/Main/asdasda - saw that it was not there, press "edit document" - could type with richt-text-editor presented - clicked on source tab - nothing happened in the browser but the server console showed:
Feb 6, 2010 11:26:48 PM org.apache.catalina.core.ApplicationContext log SEVERE: gwtrpc: IncompatibleRemoteServiceException in the processCall(String) method. 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 .xpn .xwiki .wysiwyg.server.XWikiRemoteServiceServlet.processCall(XWikiRemoteS...
On 05-févr.-10, at 23:45, Vincent Massol wrote:
I've tried to reproduce this but couldn't with XE 2.2 from trunk. Just to be sure, could you give precise steps you follow? (for ex, I'm not sure I understand "create a new document by triggering edit".
SEVERE: gwtrpc: IncompatibleRemoteServiceException in the processCall(String) method. com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Parameter 0 of is of an unknown type 'java.lang.String/2004016611'
Are you sure you have gwt-servlet-2.0.0.jar in WEB-INF/lib ?
webapps/xwiki/WEB-INF/lib/gwt-servlet-2.0.0.jar is there. paul
Hi Paul, Paul Libbrecht wrote:
I did exactly this:
- 2.2m2 download (webapp), installed on a tomcat - 2.2m2 xar install - adjusted a few params - try to open http://infinitea.eu/xwiki/bin/view/Main/asdasda - saw that it was not there, press "edit document" - could type with richt-text-editor presented - clicked on source tab
I just did the same, but on Jetty. Additionally I cleared my browser's cache. The source tab works fine. Note that most of the Selenium WYSIWYG editor tests rely on the source tab and they all were passing before the 2.2M2 release, thus I think there is something particular to your installation that causes this problem. See http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html#D... . They say: "This most commonly occurs when a change to a service implementation is deployed to a server but out-of-date clients are still active." (in the browser cache maybe?) Hope this helps, Marius
- nothing happened in the browser but the server console showed:
Feb 6, 2010 11:26:48 PM org.apache.catalina.core.ApplicationContext log SEVERE: gwtrpc: IncompatibleRemoteServiceException in the processCall(String) method. 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 .xpn .xwiki .wysiwyg.server.XWikiRemoteServiceServlet.processCall(XWikiRemoteS...
On 05-févr.-10, at 23:45, Vincent Massol wrote:
I've tried to reproduce this but couldn't with XE 2.2 from trunk. Just to be sure, could you give precise steps you follow? (for ex, I'm not sure I understand "create a new document by triggering edit".
SEVERE: gwtrpc: IncompatibleRemoteServiceException in the processCall(String) method. com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Parameter 0 of is of an unknown type 'java.lang.String/2004016611' Are you sure you have gwt-servlet-2.0.0.jar in WEB-INF/lib ?
webapps/xwiki/WEB-INF/lib/gwt-servlet-2.0.0.jar is there.
paul _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On 07-févr.-10, at 08:50, Marius Dumitru Florea wrote:
I just did the same, but on Jetty. Additionally I cleared my browser's cache. The source tab works fine. Note that most of the Selenium WYSIWYG editor tests rely on the source tab and they all were passing before the 2.2M2 release,
odd. Why would the GWT servlet act differently in jetty or tomcat? I would understand it with static files but not the GWTservlet.
thus I think there is something particular to your installation that causes this problem. See http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html#D... . They say: "This most commonly occurs when a change to a service implementation is deployed to a server but out-of-date clients are still active." (in the browser cache maybe?)
No, definitely not, that installation is a fresh new domain. paul
Paul Libbrecht wrote:
On 07-févr.-10, at 08:50, Marius Dumitru Florea wrote:
I just did the same, but on Jetty. Additionally I cleared my browser's cache. The source tab works fine. Note that most of the Selenium WYSIWYG editor tests rely on the source tab and they all were passing before the 2.2M2 release,
odd. Why would the GWT servlet act differently in jetty or tomcat? I would understand it with static files but not the GWTservlet.
Odd indeed. Can you try to remove gwt-servlet-2.0.0.jar from the WEB-INF/lib directory and see if you can (re)start the server this way? (I get java.lang.NoClassDefFoundError: com/google/gwt/user/client/rpc/RemoteService) Maybe a different version of gwt-servlet is loaded by Tomcat. Hope this helps, Marius
thus I think there is something particular to your installation that causes this problem. See http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html#D... . They say: "This most commonly occurs when a change to a service implementation is deployed to a server but out-of-date clients are still active." (in the browser cache maybe?)
No, definitely not, that installation is a fresh new domain.
paul _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Gotcha. gwt-servlet-1.5.3 was hanging around in tomcat/lib. Removing it and restarting it solved it. It's not the first time I have such a mismatch, I wonder if it would not be good to write a little sanity test for it and warn the user in case. Also, the fact that my error created a "zero action", not an error panel, is somewhat bad for me. I would prefer the user to be "sent an error panel in the face" instead of the tab click be as if it was broken. thanks Marius and Vincent. paul On 07-févr.-10, at 11:25, Marius Dumitru Florea wrote:
odd. Why would the GWT servlet act differently in jetty or tomcat? I would understand it with static files but not the GWTservlet.
Odd indeed. Can you try to remove gwt-servlet-2.0.0.jar from the WEB-INF/lib directory and see if you can (re)start the server this way? (I get java.lang.NoClassDefFoundError: com/google/gwt/user/client/rpc/RemoteService) Maybe a different version of gwt-servlet is loaded by Tomcat.
participants (3)
-
Marius Dumitru Florea -
Paul Libbrecht -
Vincent Massol