Hello All, We are using Tomcat 9, the error is leading to "xmlHttpRequest.send(requestData);" line in the JS file with "Failed to load resource: the server responded with status of 500()". Would really appreciate any help.
Thank you Naaser On Wednesday, February 24, 2021 at 11:37:59 AM UTC-6 naa...@gmail.com wrote: > Hello All, > > I am running into RPC 500 error on Chrome and Safari, I noticed that the > error comes only when my Request Header Content Length has gone above a > certain value. I don't get the error when I am using Firefox. I would > really appreciate if someone could guide me in correcting this. > > [2021-02-24 17:31:21] [crit] Exception while dispatching incoming RPC call > > [2021-02-24 17:31:21] [crit] java.lang.IllegalArgumentException: > encodedRequest cannot be empty > > [2021-02-24 17:31:21] [crit] at > com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:229) > > [2021-02-24 17:31:21] [crit] at > com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:206) > > [2021-02-24 17:31:21] [crit] at > com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) > > [2021-02-24 17:31:21] [crit] at > com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) > > [2021-02-24 17:31:21] [crit] at > javax.servlet.http.HttpServlet.service(HttpServlet.java:660) > > [2021-02-24 17:31:21] [crit] at > javax.servlet.http.HttpServlet.service(HttpServlet.java:741) > > [2021-02-24 17:31:21] [crit] at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) > > [2021-02-24 17:31:21] [crit] at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) > > [2021-02-24 17:31:21] [crit] at > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) > > [2021-02-24 17:31:21] [crit] at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) > > [2021-02-24 17:31:21] [crit] at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) > > [2021-02-24 17:31:21] [crit] at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) > > [2021-02-24 17:31:21] [crit] at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) > > [2021-02-24 17:31:21] [crit] at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) > > [2021-02-24 17:31:21] [crit] at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) > > [2021-02-24 17:31:21] [crit] at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) > > [2021-02-24 17:31:21] [crit] at > org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688) > > [2021-02-24 17:31:21] [crit] at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) > > [2021-02-24 17:31:21] [crit] at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) > > [2021-02-24 17:31:21] [crit] at > org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) > > [2021-02-24 17:31:21] [crit] at > org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) > > [2021-02-24 17:31:21] [crit] at > org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) > > [2021-02-24 17:31:21] [crit] at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639) > > [2021-02-24 17:31:21] [crit] at > org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) > > [2021-02-24 17:31:21] [crit] at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) > > [2021-02-24 17:31:21] [crit] at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) > > [2021-02-24 17:31:21] [crit] at > org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) > > [2021-02-24 17:31:21] [crit] at > java.base/java.lang.Thread.run(Thread.java:834) > Thank You > Naaser > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/f58a8267-b49f-4b87-9ff0-a327c430c49dn%40googlegroups.com.