Testsuite: jakarta.servlet.http.TestHttpServletResponseSendError Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.407 sec ------------- Standard Error ----------------- 29-Nov-2024 19:31:57.141 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[0: async[false], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]]] 29-Nov-2024 19:31:57.877 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 29-Nov-2024 19:31:57.936 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:31:57.941 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:31:58.073 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35729"] 29-Nov-2024 19:31:58.194 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35729"] 29-Nov-2024 19:31:58.198 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:31:58.226 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35729"] 29-Nov-2024 19:31:58.229 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35729"] 29-Nov-2024 19:31:58.238 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[1: async[false], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]]] 29-Nov-2024 19:31:58.240 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 29-Nov-2024 19:31:58.243 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:31:58.243 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:31:58.259 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38529"] 29-Nov-2024 19:31:58.263 SEVERE [http-nio2-127.0.0.1-auto-2-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterServlet.doGet(TestHttpServletResponseSendError.java:195) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:31:58.267 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38529"] 29-Nov-2024 19:31:58.270 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:31:58.278 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38529"] 29-Nov-2024 19:31:58.280 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38529"] 29-Nov-2024 19:31:58.283 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[2: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]]] 29-Nov-2024 19:31:58.285 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 29-Nov-2024 19:31:58.300 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:31:58.300 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:31:58.307 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39289"] 29-Nov-2024 19:31:58.329 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39289"] 29-Nov-2024 19:31:58.331 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-6" java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:00.345 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39289"] 29-Nov-2024 19:32:00.347 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39289"] 29-Nov-2024 19:32:00.350 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[3: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]]] 29-Nov-2024 19:32:00.354 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 29-Nov-2024 19:32:00.380 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:00.380 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:00.388 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38859"] 29-Nov-2024 19:32:00.393 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38859"] 29-Nov-2024 19:32:00.396 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:00.893 SEVERE [http-nio2-127.0.0.1-auto-4-exec-2] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:02.414 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38859"] 29-Nov-2024 19:32:02.418 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38859"] 29-Nov-2024 19:32:02.425 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[4: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]]] 29-Nov-2024 19:32:02.430 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 29-Nov-2024 19:32:02.497 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:02.497 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:02.503 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42709"] 29-Nov-2024 19:32:02.521 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42709"] 29-Nov-2024 19:32:02.522 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-9" java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:04.533 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42709"] 29-Nov-2024 19:32:04.534 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42709"] 29-Nov-2024 19:32:04.539 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[5: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]]] 29-Nov-2024 19:32:04.541 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 29-Nov-2024 19:32:04.675 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:04.676 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:04.697 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37181"] 29-Nov-2024 19:32:04.710 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37181"] 29-Nov-2024 19:32:04.711 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:05.208 SEVERE [http-nio2-127.0.0.1-auto-6-exec-3] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:06.720 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37181"] 29-Nov-2024 19:32:06.724 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37181"] 29-Nov-2024 19:32:06.729 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[6: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]]] 29-Nov-2024 19:32:06.732 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 29-Nov-2024 19:32:06.774 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:06.774 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:06.786 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43867"] 29-Nov-2024 19:32:06.799 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43867"] 29-Nov-2024 19:32:06.802 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-12" java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:08.814 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43867"] 29-Nov-2024 19:32:08.821 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43867"] 29-Nov-2024 19:32:08.825 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[7: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]]] 29-Nov-2024 19:32:08.831 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 29-Nov-2024 19:32:08.939 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:08.939 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:08.951 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33515"] 29-Nov-2024 19:32:08.962 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33515"] 29-Nov-2024 19:32:08.964 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:09.461 SEVERE [http-nio2-127.0.0.1-auto-8-exec-2] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:10.981 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33515"] 29-Nov-2024 19:32:10.981 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33515"] 29-Nov-2024 19:32:10.986 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[8: async[true], throw[false], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[false]]] 29-Nov-2024 19:32:10.988 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 29-Nov-2024 19:32:11.134 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:11.135 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:11.152 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37791"] 29-Nov-2024 19:32:11.690 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37791"] 29-Nov-2024 19:32:11.691 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:11.694 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37791"] 29-Nov-2024 19:32:11.695 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37791"] 29-Nov-2024 19:32:11.704 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[9: async[true], throw[false], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]]] 29-Nov-2024 19:32:11.706 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 29-Nov-2024 19:32:11.773 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:11.773 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:11.799 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33927"] 29-Nov-2024 19:32:12.307 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33927"] 29-Nov-2024 19:32:12.308 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:12.310 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33927"] 29-Nov-2024 19:32:12.312 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33927"] 29-Nov-2024 19:32:12.315 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[10: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]]] 29-Nov-2024 19:32:12.317 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 29-Nov-2024 19:32:12.321 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:12.321 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:12.331 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43071"] 29-Nov-2024 19:32:12.345 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43071"] 29-Nov-2024 19:32:12.345 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-20" java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:14.372 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43071"] 29-Nov-2024 19:32:14.373 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43071"] 29-Nov-2024 19:32:14.377 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[11: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]]] 29-Nov-2024 19:32:14.378 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 29-Nov-2024 19:32:14.405 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:14.405 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:14.431 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-37503"] 29-Nov-2024 19:32:14.442 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-37503"] 29-Nov-2024 19:32:14.450 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:14.939 SEVERE [http-nio2-127.0.0.1-auto-12-exec-4] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:16.488 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-37503"] 29-Nov-2024 19:32:16.489 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-37503"] 29-Nov-2024 19:32:16.502 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[12: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]]] 29-Nov-2024 19:32:16.504 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 29-Nov-2024 19:32:16.551 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:16.552 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:16.567 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43591"] 29-Nov-2024 19:32:16.581 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43591"] 29-Nov-2024 19:32:16.583 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-24" java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:18.599 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43591"] 29-Nov-2024 19:32:18.600 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43591"] 29-Nov-2024 19:32:18.604 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[13: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]]] 29-Nov-2024 19:32:18.605 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 29-Nov-2024 19:32:18.745 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:18.746 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:18.771 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36381"] 29-Nov-2024 19:32:18.776 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36381"] 29-Nov-2024 19:32:18.779 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:19.275 SEVERE [http-nio2-127.0.0.1-auto-14-exec-3] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:20.789 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36381"] 29-Nov-2024 19:32:20.790 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36381"] 29-Nov-2024 19:32:20.792 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[14: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]]] 29-Nov-2024 19:32:20.793 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 29-Nov-2024 19:32:20.817 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:20.817 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:20.822 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-36383"] 29-Nov-2024 19:32:20.847 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-36383"] 29-Nov-2024 19:32:20.849 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-27" java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:22.855 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-36383"] 29-Nov-2024 19:32:22.856 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-36383"] 29-Nov-2024 19:32:22.858 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[15: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]]] 29-Nov-2024 19:32:22.859 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-16"] 29-Nov-2024 19:32:22.861 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:22.861 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:22.865 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-16-46561"] 29-Nov-2024 19:32:22.868 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-16-46561"] 29-Nov-2024 19:32:22.869 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:23.367 SEVERE [http-nio2-127.0.0.1-auto-16-exec-3] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:24.875 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-16-46561"] 29-Nov-2024 19:32:24.876 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-16-46561"] 29-Nov-2024 19:32:24.879 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[16: async[true], throw[false], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[false]]] 29-Nov-2024 19:32:24.880 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-17"] 29-Nov-2024 19:32:24.886 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:24.886 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:24.889 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-17-37571"] 29-Nov-2024 19:32:25.393 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-17-37571"] 29-Nov-2024 19:32:25.394 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:25.396 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-17-37571"] 29-Nov-2024 19:32:25.396 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-17-37571"] 29-Nov-2024 19:32:25.398 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[17: async[true], throw[false], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]]] 29-Nov-2024 19:32:25.400 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-18"] 29-Nov-2024 19:32:25.401 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:25.401 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:25.404 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-18-45345"] 29-Nov-2024 19:32:25.908 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-18-45345"] 29-Nov-2024 19:32:25.909 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:25.911 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-18-45345"] 29-Nov-2024 19:32:25.911 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-18-45345"] 29-Nov-2024 19:32:25.913 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[18: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]]] 29-Nov-2024 19:32:25.914 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-19"] 29-Nov-2024 19:32:25.916 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:25.916 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:25.923 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-19-45843"] 29-Nov-2024 19:32:25.925 SEVERE [http-nio2-127.0.0.1-auto-19-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:228) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:25.926 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-19-45843"] 29-Nov-2024 19:32:25.927 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:25.928 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-19-45843"] 29-Nov-2024 19:32:25.929 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-19-45843"] 29-Nov-2024 19:32:25.931 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[19: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]]] 29-Nov-2024 19:32:25.932 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-20"] 29-Nov-2024 19:32:25.946 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:25.946 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:25.949 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-20-40629"] 29-Nov-2024 19:32:25.950 SEVERE [http-nio2-127.0.0.1-auto-20-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:228) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:25.952 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-20-40629"] 29-Nov-2024 19:32:25.954 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:25.956 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-20-40629"] 29-Nov-2024 19:32:25.956 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-20-40629"] 29-Nov-2024 19:32:25.958 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[20: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]]] 29-Nov-2024 19:32:25.959 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-21"] 29-Nov-2024 19:32:25.967 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:25.967 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:25.970 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-21-35005"] 29-Nov-2024 19:32:25.971 SEVERE [http-nio2-127.0.0.1-auto-21-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:235) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:25.972 SEVERE [http-nio2-127.0.0.1-auto-21-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:305) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:196) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:25.973 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-21-35005"] 29-Nov-2024 19:32:25.974 INFO [http-nio2-127.0.0.1-auto-21-exec-2] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1432) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1094) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1069) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:25.975 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:27.982 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-21-35005"] 29-Nov-2024 19:32:27.984 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-21-35005"] 29-Nov-2024 19:32:27.988 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[21: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]]] 29-Nov-2024 19:32:27.991 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-22"] 29-Nov-2024 19:32:28.019 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:28.020 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:28.023 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-22-44503"] 29-Nov-2024 19:32:28.033 SEVERE [http-nio2-127.0.0.1-auto-22-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:235) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:28.034 SEVERE [http-nio2-127.0.0.1-auto-22-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:305) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:196) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:28.034 INFO [http-nio2-127.0.0.1-auto-22-exec-2] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1432) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1094) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1069) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:28.035 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-22-44503"] 29-Nov-2024 19:32:28.038 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:30.044 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-22-44503"] 29-Nov-2024 19:32:30.045 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-22-44503"] 29-Nov-2024 19:32:30.048 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[22: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]]] 29-Nov-2024 19:32:30.049 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-23"] 29-Nov-2024 19:32:30.051 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:30.051 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:30.054 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-23-38505"] 29-Nov-2024 19:32:30.055 SEVERE [http-nio2-127.0.0.1-auto-23-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:248) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:30.056 SEVERE [http-nio2-127.0.0.1-auto-23-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:305) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:196) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:30.057 INFO [http-nio2-127.0.0.1-auto-23-exec-2] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1432) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1094) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1069) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:30.057 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-23-38505"] 29-Nov-2024 19:32:30.057 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-39" jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:287) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:32.063 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-23-38505"] 29-Nov-2024 19:32:32.063 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-23-38505"] 29-Nov-2024 19:32:32.065 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[23: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]]] 29-Nov-2024 19:32:32.066 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-24"] 29-Nov-2024 19:32:32.068 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:32.068 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:32.072 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-24-45269"] 29-Nov-2024 19:32:32.075 SEVERE [http-nio2-127.0.0.1-auto-24-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:248) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:637) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:613) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:32.076 SEVERE [http-nio2-127.0.0.1-auto-24-exec-3] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:305) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:196) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:637) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:613) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:32.076 INFO [http-nio2-127.0.0.1-auto-24-exec-3] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1432) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1094) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1069) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:637) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:613) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:32.077 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-24-45269"] 29-Nov-2024 19:32:32.077 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:32.575 SEVERE [http-nio2-127.0.0.1-auto-24-exec-4] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:287) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:34.083 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-24-45269"] 29-Nov-2024 19:32:34.083 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-24-45269"] 29-Nov-2024 19:32:34.085 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[24: async[true], throw[true], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]]] 29-Nov-2024 19:32:34.086 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-25"] 29-Nov-2024 19:32:34.087 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:34.088 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:34.090 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-25-37063"] 29-Nov-2024 19:32:34.592 SEVERE [http-nio2-127.0.0.1-auto-25-exec-2] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:287) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:37.092 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-25-37063"] 29-Nov-2024 19:32:37.093 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:37.095 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-25-37063"] 29-Nov-2024 19:32:37.095 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-25-37063"] 29-Nov-2024 19:32:37.097 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[25: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]]] 29-Nov-2024 19:32:37.098 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-26"] 29-Nov-2024 19:32:37.101 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:37.101 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:37.104 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-26-45175"] 29-Nov-2024 19:32:37.106 SEVERE [http-nio2-127.0.0.1-auto-26-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:228) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:37.107 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-26-45175"] 29-Nov-2024 19:32:37.107 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:37.109 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-26-45175"] 29-Nov-2024 19:32:37.109 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-26-45175"] 29-Nov-2024 19:32:37.116 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[26: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]]] 29-Nov-2024 19:32:37.117 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-27"] 29-Nov-2024 19:32:37.119 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:37.120 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:37.122 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-27-37491"] 29-Nov-2024 19:32:37.124 SEVERE [http-nio2-127.0.0.1-auto-27-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:228) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:37.125 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-27-37491"] 29-Nov-2024 19:32:37.126 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:37.127 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-27-37491"] 29-Nov-2024 19:32:37.128 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-27-37491"] 29-Nov-2024 19:32:37.130 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[27: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]]] 29-Nov-2024 19:32:37.132 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-28"] 29-Nov-2024 19:32:37.140 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:37.140 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:37.143 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-28-44945"] 29-Nov-2024 19:32:37.146 SEVERE [http-nio2-127.0.0.1-auto-28-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:235) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:37.147 SEVERE [http-nio2-127.0.0.1-auto-28-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:305) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:196) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:37.147 INFO [http-nio2-127.0.0.1-auto-28-exec-2] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1432) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1094) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1069) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:37.147 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-28-44945"] 29-Nov-2024 19:32:37.150 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:39.156 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-28-44945"] 29-Nov-2024 19:32:39.156 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-28-44945"] 29-Nov-2024 19:32:39.162 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[28: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]]] 29-Nov-2024 19:32:39.164 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-29"] 29-Nov-2024 19:32:39.208 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:39.208 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:39.234 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-29-41271"] 29-Nov-2024 19:32:39.236 SEVERE [http-nio2-127.0.0.1-auto-29-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:235) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:39.237 SEVERE [http-nio2-127.0.0.1-auto-29-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:305) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:196) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:39.237 INFO [http-nio2-127.0.0.1-auto-29-exec-2] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1432) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1094) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1069) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:39.238 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-29-41271"] 29-Nov-2024 19:32:39.239 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:41.248 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-29-41271"] 29-Nov-2024 19:32:41.249 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-29-41271"] 29-Nov-2024 19:32:41.252 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[29: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]]] 29-Nov-2024 19:32:41.254 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-30"] 29-Nov-2024 19:32:41.255 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:41.256 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:41.258 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-30-46499"] 29-Nov-2024 19:32:41.260 SEVERE [http-nio2-127.0.0.1-auto-30-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:248) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:41.261 SEVERE [http-nio2-127.0.0.1-auto-30-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:305) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:196) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:41.261 INFO [http-nio2-127.0.0.1-auto-30-exec-2] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1432) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1094) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1069) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:41.261 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-30-46499"] 29-Nov-2024 19:32:41.262 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-48" jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:287) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:43.268 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-30-46499"] 29-Nov-2024 19:32:43.268 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-30-46499"] 29-Nov-2024 19:32:43.271 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[30: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]]] 29-Nov-2024 19:32:43.272 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-31"] 29-Nov-2024 19:32:43.273 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:43.273 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:43.276 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-31-43785"] 29-Nov-2024 19:32:43.277 SEVERE [http-nio2-127.0.0.1-auto-31-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:248) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:43.278 SEVERE [http-nio2-127.0.0.1-auto-31-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:305) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:196) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:43.278 INFO [http-nio2-127.0.0.1-auto-31-exec-2] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1432) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1094) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1069) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:43.279 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-31-43785"] 29-Nov-2024 19:32:43.279 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:43.777 SEVERE [http-nio2-127.0.0.1-auto-31-exec-3] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:287) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:45.284 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-31-43785"] 29-Nov-2024 19:32:45.285 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-31-43785"] 29-Nov-2024 19:32:45.288 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendError[31: async[true], throw[true], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]]] 29-Nov-2024 19:32:45.290 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-32"] 29-Nov-2024 19:32:45.357 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:32:45.358 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:32:45.361 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-32-32887"] 29-Nov-2024 19:32:45.864 SEVERE [http-nio2-127.0.0.1-auto-32-exec-2] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:287) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 29-Nov-2024 19:32:48.363 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-32-32887"] 29-Nov-2024 19:32:48.364 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:32:48.365 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-32-32887"] 29-Nov-2024 19:32:48.366 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-32-32887"] ------------- ---------------- --------------- Testcase: testSendError[0: async[false], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 1.195 sec Testcase: testSendError[1: async[false], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 0.045 sec Testcase: testSendError[2: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 2.066 sec Testcase: testSendError[3: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 2.073 sec Testcase: testSendError[4: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.114 sec Testcase: testSendError[5: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.189 sec Testcase: testSendError[6: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.096 sec Testcase: testSendError[7: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.16 sec Testcase: testSendError[8: async[true], throw[false], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[false]] took 0.718 sec Testcase: testSendError[9: async[true], throw[false], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 0.61 sec Testcase: testSendError[10: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 2.061 sec Testcase: testSendError[11: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 2.124 sec Testcase: testSendError[12: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.101 sec Testcase: testSendError[13: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.188 sec Testcase: testSendError[14: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.065 sec Testcase: testSendError[15: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.02 sec Testcase: testSendError[16: async[true], throw[false], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[false]] took 0.519 sec Testcase: testSendError[17: async[true], throw[false], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 0.515 sec Testcase: testSendError[18: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 0.017 sec Testcase: testSendError[19: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 0.027 sec Testcase: testSendError[20: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.029 sec Testcase: testSendError[21: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.059 sec Testcase: testSendError[22: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.017 sec Testcase: testSendError[23: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.02 sec Testcase: testSendError[24: async[true], throw[true], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 3.011 sec Testcase: testSendError[25: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 0.018 sec Testcase: testSendError[26: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 0.014 sec Testcase: testSendError[27: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.032 sec Testcase: testSendError[28: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.089 sec Testcase: testSendError[29: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.019 sec Testcase: testSendError[30: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.018 sec Testcase: testSendError[31: async[true], throw[true], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 3.079 sec