https://bz.apache.org/bugzilla/show_bug.cgi?id=65178
Bug ID: 65178
Summary: An Error that "Calling [asyncPostProcess()] is not
valid for a request with Async state [ERROR]" occur
Product: Tomcat 9
Version: 9.0.37
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
Hello.
Probably the same as this ticket.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64496
I'm developing using Tomcat and Java.
The following logs will be spit out during operation.
----------------------------------------
Error reading request, ignored throwable:java.lang.IllegalStateException:
Calling [asyncPostProcess()] is not valid for a request with Async state
[ERROR]\n at
org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:290)\n
at
org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:192)\n
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:81)\n
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)\n
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1589)\n
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n
at java.util.concurrent.ThreadPoolExecutor.runWorker(null:-1)\n at
java.util.concurrent.ThreadPoolExecutor$Worker.run(null:-1)\n at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n
at java.lang.Thread.run(null:-1)
----------------------------------------
After investigating, it seems to be an error that occurs when the following
this line occurs when tomcat runs a thread.
https://code.yawk.at/org.apache.tomcat/tomcat-catalina/9.0.26/org/apache/catalina/core/AsyncContextImpl.java#421
However, The same event cannot occur locally.
What settings and requests should I make to get this error?
Also, is there a way to handle this error?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]