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

Icesoft | SrArcos | 6 years ago
  1. 0

    Re:ServerPushCommandContext example

    Icesoft | 6 years ago | SrArcos
    javax.servlet.ServletException: Content-Type was 'text/x-gwt-rpc; charset=utf-8'. Expected 'application/json'.
  2. 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'.
  3. 0

    getting "Content-Type must be 'text/x-gwt-rpc' with 'charset=utf-8'" after updating to gwt 1.5RC1

    Google Groups | 8 years ago | TimTimGo
    javax.servlet.ServletException: Content-Type must be 'text/x-gwt-rpc' with 'charset=utf-8'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    getting "Content-Type must be 'text/x-gwt-rpc' with 'charset=utf-8'" after updating to gwt 1.5RC1

    Google Groups | 8 years ago | TimTimGo
    javax.servlet.ServletException: Content-Type must be 'text/x-gwt-rpc' with 'charset=utf-8'.
  6. 0

    Content-Type was 'application/x-www-form-urlencoded'. Expected 'text/x-gwt-rpc'

    Stack Overflow | 1 year ago | displayname
    javax.servlet.ServletException: Content-Type was 'application/x-www-form-urlencoded'. Expected 'text/x-gwt-rpc'.

    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/x-gwt-rpc; charset=utf-8'. Expected 'application/json'.

      at com.google.gwt.user.server.rpc.RPCServletUtils.checkContentTypeIgnoreCase()
    2. Jetty Contrib :: jetty-gwt RemoteServiceServlet
      RPCServletUtils.readContent
      1. com.google.gwt.user.server.rpc.RPCServletUtils.checkContentTypeIgnoreCase(RPCServletUtils.java:427)
      2. com.google.gwt.user.server.rpc.RPCServletUtils.readContent(RPCServletUtils.java:160)
      2 frames
    3. com.google.gwt
      RequestFactoryServlet.doPost
      1. com.google.gwt.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:97)
      1 frame
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    5. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      8. org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    6. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
      1 frame