https://bz.apache.org/bugzilla/show_bug.cgi?id=63817
Bug ID: 63817 Summary: Calling [asyncComplete()] is not valid for a request with Async state [MUST_ERROR] Product: Tomcat 9 Version: 9.0.22 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: a701...@gmail.com Target Milestone: ----- asyncComplete() is called in the "finally" section on both success and failure of the background request processing. Sometimes when there is an IO error on the background thread I get the following error: java.lang.IllegalStateException: Calling [asyncComplete()] is not valid for a request with Async state [MUST_ERROR] java.lang.IllegalStateException: Calling [asyncComplete()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.doComplete(AsyncStateMachine.java:332) at org.apache.coyote.AsyncStateMachine.asyncComplete(AsyncStateMachine.java:316) at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:496) at org.apache.coyote.Request.action(Request.java:430) at org.apache.catalina.core.AsyncContextImpl.complete(AsyncContextImpl.java:92) -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org