Wednesday, August 1, 2012

Re: rpc error

Hello,

finally I have found the error. The probleme was an old  requestfactory.jar. I have removed the jar an all work fine.

Thnak and Regards, Rafael.

El lunes, 30 de julio de 2012 12:27:06 UTC+2, Rafael Campaña escribió:
Hello GWT Community,

I have tested gwt 2.5 with my gwt 2.4 project and I get rpc errors on every rpc call. A Hello world project work fine but I can't to upgrade my gwt 2.4 project. I would like to prove the performance  improvements!!

I have updated eclipse gwt plugings and I have  replaced the gwt-serv

java.lang.NoSuchFieldError: CHARSET_UTF8
at com.google.gwt.user.server.rpc.impl.SerializabilityUtil.generateSerializationSignature(SerializabilityUtil.java:862)
at com.google.gwt.user.server.rpc.impl.SerializabilityUtil.getSerializationSignature(SerializabilityUtil.java:333)
at com.google.gwt.user.server.rpc.impl.SerializabilityUtil.encodeSerializedInstanceReference(SerializabilityUtil.java:217)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.getObjectTypeSignature(ServerSerializationStreamWriter.java:651)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:123)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:585)
at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:605)
at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:471)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:563)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

And here is the request/response headers:
[ERROR] 500 - POST /portusgwt/rpc (127.0.0.1) 57 bytes
   Request headers
      Host: 127.0.0.1:8888
      User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20100101 Firefox/10.0.5 Iceweasel/10.0.5
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
      Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
      Accept-Encoding: gzip, deflate
      Connection: keep-alive
      Cookie: __utma=96992031.1351205333.1342769624.1343295684.1343630091.10; __utmz=96992031.1342769624.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=96992031.2.10.1343630091; __utmc=96992031
      X-GWT-Permutation: HostedMode
      X-GWT-Module-Base: http://127.0.0.1:8888/portusgwt/
      Content-Type: text/x-gwt-rpc; charset=utf-8
      Content-Length: 190
      Pragma: no-cache
      Cache-Control: no-cache
   Response headers
      Content-Type: text/plain

¿With this version is necesary to update development plugin? ¿May be an error with Content-Type header? 


Thank and regards, Rafael.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/FSGOlljt_ikJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment