javax.servlet.ServletException: Content-Type was 'text/plain; charset=utf-8'. Expected 'text/x-gwt-rpc'.

Stack Overflow | koszti | 3 months ago
  1. 0

    Two instances of icCube: Login to the IDE from multiple tabs

    Stack Overflow | 3 months ago | koszti
    javax.servlet.ServletException: Content-Type was 'text/plain; charset=utf-8'. Expected 'text/x-gwt-rpc'.
  2. 0

    gwt rpc - Client did not send 199 bytes as expected - RPCServletUtils.readContentAsUtf8

    Google Groups | 7 years ago | Simon Botting
    javax.servlet.ServletException: Client did not send 199 bytes as expected
  3. 0

    redirecting from xfbml to gwt does not work

    Stack Overflow | 4 years ago | Vik
    javax.servlet.ServletException: Content-Type was 'application/x-www-form-urlencoded'. Expected 'text/x-gwt-rpc'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    New Content-Length must be specified error

    Google Groups | 6 years ago | steveb
    javax.servlet.ServletException: Content-Length must be specified
  6. 0

    Exception while dispatching incoming RPC call.

    Google Groups | 6 years ago | Amey
    javax.servlet.ServletException: Content-Length must be specified

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.servlet.ServletException

      Content-Type was 'text/plain; charset=utf-8'. Expected 'text/x-gwt-rpc'.

      at com.google.gwt.user.server.rpc.RPCServletUtils.checkContentTypeIgnoreCase()
    2. Jetty Contrib :: jetty-gwt RemoteServiceServlet
      AbstractRemoteServiceServlet.doPost
      1. com.google.gwt.user.server.rpc.RPCServletUtils.checkContentTypeIgnoreCase(RPCServletUtils.java:476)
      2. com.google.gwt.user.server.rpc.RPCServletUtils.readContent(RPCServletUtils.java:207)
      3. com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsGwtRpc(RPCServletUtils.java:250)
      4. com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.readContent(AbstractRemoteServiceServlet.java:182)
      5. com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:239)
      6. com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
      6 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      2 frames
    4. Jetty
      ServletHolder.handle
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
      1 frame
    5. crazydev.iccube.server
      IcCubeServletHolder.handle
      1. crazydev.iccube.server.http.IcCubeServletHolder.handle(SourceFile:63)
      1 frame
    6. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
      1 frame
    7. crazydev.iccube.server
      IcCubeGwtAuthenticationServletFilter.doFilter
      1. crazydev.iccube.server.authentication.IcCubeGwtAuthenticationServletFilter.doFilter(SourceFile:101)
      1 frame
    8. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
      4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      9. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
      10. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      11. org.eclipse.jetty.server.Server.handle(Server.java:497)
      12. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
      13. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      14. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      15. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      16. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      16 frames