• Welcome to KonaKart Community Forum. Please login or sign up.
 

konakart 2.2.6.0 - RPC call problem.

Started by ByDcc, September 29, 2010, 02:17:02 pm

Previous topic - Next topic

ByDcc

   Hi all,
   since a few days ago Konakart Admin Application doesn't load from Chrome.
   I got the error showed bellow.

28-Sep 13:25:08 ERROR (ApplicationContext.java:log:682) Exception while dispatching incoming RPC call
javax.servlet.ServletException: Content-Type was 'text/plain; charset=utf-8'. Expected 'text/x-gwt-rpc'.
   at com.google.gwt.user.server.rpc.RPCServletUtils.checkContentType(RPCServletUtils.java:366)
   at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsUtf8(RPCServletUtils.java:172)
   at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.readContent(AbstractRemoteServiceServlet.java:179)
   at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:215)
   at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)

   The charset I have set in chrome is utf-8. The version is 6.0.472.63
   Do you know a way to fix this problem?.
   I'm not sure but may be some piece of Konakart (in the client) doesn't set the charset (in a rpc call) and chrome uses the charset by default.
   Could you give some clue or patch?.
   Thank you in advance.

Brian

It looks as if that version of Chrome and the version of GWT in that version of KonaKart are incompatible.

Can you just use IE or FF instead?

v2.2.6.0 is pretty old now...  Can you upgrade to a more recent version of KonaKart?  It's a painless upgrade.


ByDcc

   Hi Brian,
   thank you for your reply.

   IE and FF work fine.
   I'll follow your suggestion of upgrading but probably I'll wait the version 5.2.0.0 in which you said there will be an ant target to build an eclipse project.

   Thank you again for your help.

Brian

Yes... and you shouldn't have any problems with Chrome compatibility with KonaKart v5.2.0.0 and the current version of Chrome.  I actually test quite a bit on Chrome and it's fine (although, somewhat surprisingly, (given Chrome and GWT are both from Google),  I think the Admin App looks a little better on IE and FF).