Testsuite: jakarta.servlet.http.TestHttpServletResponseSendError Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.252 sec ------------- Standard Error ----------------- 03-Dec-2024 17:28:53.395 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]]] 03-Dec-2024 17:28:54.165 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 03-Dec-2024 17:28:54.223 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:28:54.224 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:28:54.338 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36059"] 03-Dec-2024 17:28:54.471 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36059"] 03-Dec-2024 17:28:54.473 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:28:54.498 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36059"] 03-Dec-2024 17:28:54.503 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36059"] 03-Dec-2024 17:28:54.529 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]]] 03-Dec-2024 17:28:54.535 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 03-Dec-2024 17:28:54.541 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:28:54.542 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:28:54.560 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46029"] 03-Dec-2024 17:28:54.564 SEVERE [http-nio2-127.0.0.1-auto-2-exec-5] 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$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) 03-Dec-2024 17:28:54.567 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46029"] 03-Dec-2024 17:28:54.568 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:28:54.572 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46029"] 03-Dec-2024 17:28:54.574 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46029"] 03-Dec-2024 17:28:54.579 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]]] 03-Dec-2024 17:28:54.582 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 03-Dec-2024 17:28:54.602 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:28:54.602 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:28:54.633 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45087"] 03-Dec-2024 17:28:54.650 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45087"] 03-Dec-2024 17:28:54.651 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) 03-Dec-2024 17:28:56.663 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45087"] 03-Dec-2024 17:28:56.663 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45087"] 03-Dec-2024 17:28:56.668 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]]] 03-Dec-2024 17:28:56.671 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 03-Dec-2024 17:28:56.683 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:28:56.683 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:28:56.687 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38615"] 03-Dec-2024 17:28:56.692 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38615"] 03-Dec-2024 17:28:56.695 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:28:57.191 SEVERE [http-nio2-127.0.0.1-auto-4-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) 03-Dec-2024 17:28:58.705 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38615"] 03-Dec-2024 17:28:58.706 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38615"] 03-Dec-2024 17:28:58.711 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]]] 03-Dec-2024 17:28:58.712 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 03-Dec-2024 17:28:58.715 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:28:58.716 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:28:58.720 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37181"] 03-Dec-2024 17:28:58.725 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37181"] 03-Dec-2024 17:28:58.726 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) 03-Dec-2024 17:29:00.734 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37181"] 03-Dec-2024 17:29:00.736 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37181"] 03-Dec-2024 17:29:00.743 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]]] 03-Dec-2024 17:29:00.746 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 03-Dec-2024 17:29:00.763 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:00.763 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:00.768 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40437"] 03-Dec-2024 17:29:00.774 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40437"] 03-Dec-2024 17:29:00.778 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:01.274 SEVERE [http-nio2-127.0.0.1-auto-6-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) 03-Dec-2024 17:29:02.792 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40437"] 03-Dec-2024 17:29:02.799 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40437"] 03-Dec-2024 17:29:02.805 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]]] 03-Dec-2024 17:29:02.810 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 03-Dec-2024 17:29:02.926 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:02.927 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:02.942 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36957"] 03-Dec-2024 17:29:02.958 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36957"] 03-Dec-2024 17:29:02.960 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) 03-Dec-2024 17:29:04.974 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36957"] 03-Dec-2024 17:29:04.980 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36957"] 03-Dec-2024 17:29:04.984 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]]] 03-Dec-2024 17:29:04.988 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 03-Dec-2024 17:29:05.042 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:05.043 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:05.054 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37551"] 03-Dec-2024 17:29:05.058 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37551"] 03-Dec-2024 17:29:05.060 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:05.557 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) 03-Dec-2024 17:29:07.072 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37551"] 03-Dec-2024 17:29:07.080 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37551"] 03-Dec-2024 17:29:07.085 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]]] 03-Dec-2024 17:29:07.086 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 03-Dec-2024 17:29:07.224 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:07.224 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:07.243 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-32923"] 03-Dec-2024 17:29:07.761 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-32923"] 03-Dec-2024 17:29:07.762 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:07.775 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-32923"] 03-Dec-2024 17:29:07.777 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-32923"] 03-Dec-2024 17:29:07.785 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]]] 03-Dec-2024 17:29:07.790 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 03-Dec-2024 17:29:07.859 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:07.860 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:07.881 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41527"] 03-Dec-2024 17:29:08.391 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41527"] 03-Dec-2024 17:29:08.399 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:08.409 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41527"] 03-Dec-2024 17:29:08.412 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41527"] 03-Dec-2024 17:29:08.420 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]]] 03-Dec-2024 17:29:08.432 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 03-Dec-2024 17:29:08.479 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:08.479 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:08.486 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-45259"] 03-Dec-2024 17:29:08.495 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-45259"] 03-Dec-2024 17:29:08.497 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) 03-Dec-2024 17:29:10.509 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-45259"] 03-Dec-2024 17:29:10.509 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-45259"] 03-Dec-2024 17:29:10.524 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]]] 03-Dec-2024 17:29:10.525 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 03-Dec-2024 17:29:10.617 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:10.617 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:10.637 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-45455"] 03-Dec-2024 17:29:10.659 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-45455"] 03-Dec-2024 17:29:10.659 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:11.158 SEVERE [http-nio2-127.0.0.1-auto-12-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) 03-Dec-2024 17:29:12.673 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-45455"] 03-Dec-2024 17:29:12.676 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-45455"] 03-Dec-2024 17:29:12.680 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]]] 03-Dec-2024 17:29:12.681 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 03-Dec-2024 17:29:12.731 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:12.731 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:12.765 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41677"] 03-Dec-2024 17:29:12.807 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41677"] 03-Dec-2024 17:29:12.810 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-23" 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) 03-Dec-2024 17:29:14.823 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41677"] 03-Dec-2024 17:29:14.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41677"] 03-Dec-2024 17:29:14.830 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]]] 03-Dec-2024 17:29:14.831 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 03-Dec-2024 17:29:14.852 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:14.852 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:14.860 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46857"] 03-Dec-2024 17:29:14.866 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46857"] 03-Dec-2024 17:29:14.868 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:15.365 SEVERE [http-nio2-127.0.0.1-auto-14-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) 03-Dec-2024 17:29:16.876 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46857"] 03-Dec-2024 17:29:16.877 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46857"] 03-Dec-2024 17:29:16.882 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]]] 03-Dec-2024 17:29:16.884 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 03-Dec-2024 17:29:16.997 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:16.997 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:17.008 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-43667"] 03-Dec-2024 17:29:17.027 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-43667"] 03-Dec-2024 17:29:17.029 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-26" 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) 03-Dec-2024 17:29:19.035 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-43667"] 03-Dec-2024 17:29:19.036 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-43667"] 03-Dec-2024 17:29:19.038 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]]] 03-Dec-2024 17:29:19.039 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-16"] 03-Dec-2024 17:29:19.045 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:19.045 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:19.049 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-16-34557"] 03-Dec-2024 17:29:19.053 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-16-34557"] 03-Dec-2024 17:29:19.053 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:19.551 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) 03-Dec-2024 17:29:21.059 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-16-34557"] 03-Dec-2024 17:29:21.060 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-16-34557"] 03-Dec-2024 17:29:21.062 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]]] 03-Dec-2024 17:29:21.063 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-17"] 03-Dec-2024 17:29:21.070 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:21.070 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:21.074 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-17-41791"] 03-Dec-2024 17:29:21.578 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-17-41791"] 03-Dec-2024 17:29:21.579 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:21.580 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-17-41791"] 03-Dec-2024 17:29:21.581 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-17-41791"] 03-Dec-2024 17:29:21.584 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]]] 03-Dec-2024 17:29:21.584 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-18"] 03-Dec-2024 17:29:21.587 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:21.587 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:21.590 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-18-40065"] 03-Dec-2024 17:29:22.094 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-18-40065"] 03-Dec-2024 17:29:22.095 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:22.097 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-18-40065"] 03-Dec-2024 17:29:22.098 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-18-40065"] 03-Dec-2024 17:29:22.100 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]]] 03-Dec-2024 17:29:22.101 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-19"] 03-Dec-2024 17:29:22.103 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:22.103 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:22.106 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-19-35799"] 03-Dec-2024 17:29:22.108 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) 03-Dec-2024 17:29:22.110 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-19-35799"] 03-Dec-2024 17:29:22.111 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:22.112 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-19-35799"] 03-Dec-2024 17:29:22.112 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-19-35799"] 03-Dec-2024 17:29:22.115 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]]] 03-Dec-2024 17:29:22.116 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-20"] 03-Dec-2024 17:29:22.118 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:22.118 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:22.121 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-20-43341"] 03-Dec-2024 17:29:22.124 SEVERE [http-nio2-127.0.0.1-auto-20-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) 03-Dec-2024 17:29:22.127 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-20-43341"] 03-Dec-2024 17:29:22.128 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:22.129 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-20-43341"] 03-Dec-2024 17:29:22.130 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-20-43341"] 03-Dec-2024 17:29:22.135 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]]] 03-Dec-2024 17:29:22.135 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-21"] 03-Dec-2024 17:29:22.138 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:22.138 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:22.140 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-21-45463"] 03-Dec-2024 17:29:22.142 SEVERE [http-nio2-127.0.0.1-auto-21-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: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) 03-Dec-2024 17:29:22.143 SEVERE [http-nio2-127.0.0.1-auto-21-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.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) 03-Dec-2024 17:29:22.143 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-21-45463"] 03-Dec-2024 17:29:22.144 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:22.145 INFO [http-nio2-127.0.0.1-auto-21-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.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) 03-Dec-2024 17:29:24.150 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-21-45463"] 03-Dec-2024 17:29:24.151 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-21-45463"] 03-Dec-2024 17:29:24.152 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]]] 03-Dec-2024 17:29:24.154 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-22"] 03-Dec-2024 17:29:24.156 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:24.157 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:24.159 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-22-36317"] 03-Dec-2024 17:29:24.161 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) 03-Dec-2024 17:29:24.162 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) 03-Dec-2024 17:29:24.162 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) 03-Dec-2024 17:29:24.162 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-22-36317"] 03-Dec-2024 17:29:24.163 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:26.168 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-22-36317"] 03-Dec-2024 17:29:26.169 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-22-36317"] 03-Dec-2024 17:29:26.171 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]]] 03-Dec-2024 17:29:26.172 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-23"] 03-Dec-2024 17:29:26.173 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:26.173 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:26.180 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-23-44737"] 03-Dec-2024 17:29:26.182 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) 03-Dec-2024 17:29:26.183 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) 03-Dec-2024 17:29:26.183 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) 03-Dec-2024 17:29:26.183 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-23-44737"] 03-Dec-2024 17:29:26.184 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-38" 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) 03-Dec-2024 17:29:28.189 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-23-44737"] 03-Dec-2024 17:29:28.190 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-23-44737"] 03-Dec-2024 17:29:28.191 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]]] 03-Dec-2024 17:29:28.192 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-24"] 03-Dec-2024 17:29:28.194 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:28.194 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:28.196 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-24-32815"] 03-Dec-2024 17:29:28.198 SEVERE [http-nio2-127.0.0.1-auto-24-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) 03-Dec-2024 17:29:28.198 SEVERE [http-nio2-127.0.0.1-auto-24-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) 03-Dec-2024 17:29:28.199 INFO [http-nio2-127.0.0.1-auto-24-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) 03-Dec-2024 17:29:28.199 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-24-32815"] 03-Dec-2024 17:29:28.199 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:28.698 SEVERE [http-nio2-127.0.0.1-auto-24-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) 03-Dec-2024 17:29:30.208 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-24-32815"] 03-Dec-2024 17:29:30.208 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-24-32815"] 03-Dec-2024 17:29:30.210 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]]] 03-Dec-2024 17:29:30.215 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-25"] 03-Dec-2024 17:29:30.217 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:30.217 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:30.227 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-25-44373"] 03-Dec-2024 17:29:30.738 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) 03-Dec-2024 17:29:33.230 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-25-44373"] 03-Dec-2024 17:29:33.233 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:33.235 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-25-44373"] 03-Dec-2024 17:29:33.236 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-25-44373"] 03-Dec-2024 17:29:33.240 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]]] 03-Dec-2024 17:29:33.241 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-26"] 03-Dec-2024 17:29:33.277 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:33.277 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:33.280 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-26-33249"] 03-Dec-2024 17:29:33.282 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) 03-Dec-2024 17:29:33.284 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-26-33249"] 03-Dec-2024 17:29:33.284 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:33.286 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-26-33249"] 03-Dec-2024 17:29:33.287 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-26-33249"] 03-Dec-2024 17:29:33.290 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]]] 03-Dec-2024 17:29:33.291 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-27"] 03-Dec-2024 17:29:33.301 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:33.302 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:33.305 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-27-41819"] 03-Dec-2024 17:29:33.311 SEVERE [http-nio2-127.0.0.1-auto-27-exec-4] 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$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) 03-Dec-2024 17:29:33.312 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-27-41819"] 03-Dec-2024 17:29:33.315 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:33.318 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-27-41819"] 03-Dec-2024 17:29:33.319 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-27-41819"] 03-Dec-2024 17:29:33.322 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]]] 03-Dec-2024 17:29:33.329 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-28"] 03-Dec-2024 17:29:33.331 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:33.331 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:33.334 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-28-43315"] 03-Dec-2024 17:29:33.336 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) 03-Dec-2024 17:29:33.337 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) 03-Dec-2024 17:29:33.338 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) 03-Dec-2024 17:29:33.338 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-28-43315"] 03-Dec-2024 17:29:33.341 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:35.354 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-28-43315"] 03-Dec-2024 17:29:35.354 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-28-43315"] 03-Dec-2024 17:29:35.359 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]]] 03-Dec-2024 17:29:35.361 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-29"] 03-Dec-2024 17:29:35.369 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:35.369 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:35.372 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-29-45053"] 03-Dec-2024 17:29:35.374 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) 03-Dec-2024 17:29:35.375 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) 03-Dec-2024 17:29:35.375 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) 03-Dec-2024 17:29:35.379 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-29-45053"] 03-Dec-2024 17:29:35.381 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:37.412 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-29-45053"] 03-Dec-2024 17:29:37.413 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-29-45053"] 03-Dec-2024 17:29:37.417 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]]] 03-Dec-2024 17:29:37.424 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-30"] 03-Dec-2024 17:29:37.426 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:37.426 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:37.430 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-30-36563"] 03-Dec-2024 17:29:37.435 SEVERE [http-nio2-127.0.0.1-auto-30-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) 03-Dec-2024 17:29:37.437 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-30-36563"] 03-Dec-2024 17:29:37.438 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:37.438 SEVERE [http-nio2-127.0.0.1-auto-30-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) 03-Dec-2024 17:29:37.438 INFO [http-nio2-127.0.0.1-auto-30-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) 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) 03-Dec-2024 17:29:39.443 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-30-36563"] 03-Dec-2024 17:29:39.443 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-30-36563"] 03-Dec-2024 17:29:39.445 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]]] 03-Dec-2024 17:29:39.446 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-31"] 03-Dec-2024 17:29:39.447 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:39.447 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:39.450 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-31-42331"] 03-Dec-2024 17:29:39.452 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) 03-Dec-2024 17:29:39.453 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) 03-Dec-2024 17:29:39.453 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) 03-Dec-2024 17:29:39.453 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-31-42331"] 03-Dec-2024 17:29:39.454 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:39.952 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) 03-Dec-2024 17:29:41.459 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-31-42331"] 03-Dec-2024 17:29:41.459 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-31-42331"] 03-Dec-2024 17:29:41.461 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]]] 03-Dec-2024 17:29:41.462 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-32"] 03-Dec-2024 17:29:41.463 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 17:29:41.464 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 17:29:41.466 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-32-35345"] 03-Dec-2024 17:29:41.967 SEVERE [http-nio2-127.0.0.1-auto-32-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) 03-Dec-2024 17:29:44.468 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-32-35345"] 03-Dec-2024 17:29:44.469 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 17:29:44.471 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-32-35345"] 03-Dec-2024 17:29:44.472 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-32-35345"] ------------- ---------------- --------------- Testcase: testSendError[0: async[false], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 1.236 sec Testcase: testSendError[1: async[false], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 0.053 sec Testcase: testSendError[2: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 2.09 sec Testcase: testSendError[3: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 2.042 sec Testcase: testSendError[4: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.03 sec Testcase: testSendError[5: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.063 sec Testcase: testSendError[6: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.178 sec Testcase: testSendError[7: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.101 sec Testcase: testSendError[8: async[true], throw[false], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[false]] took 0.7 sec Testcase: testSendError[9: async[true], throw[false], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 0.635 sec Testcase: testSendError[10: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 2.099 sec Testcase: testSendError[11: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 2.161 sec Testcase: testSendError[12: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.149 sec Testcase: testSendError[13: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.05 sec Testcase: testSendError[14: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.156 sec Testcase: testSendError[15: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.024 sec Testcase: testSendError[16: async[true], throw[false], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[false]] took 0.521 sec Testcase: testSendError[17: async[true], throw[false], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 0.516 sec Testcase: testSendError[18: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 0.015 sec Testcase: testSendError[19: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 0.019 sec Testcase: testSendError[20: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.018 sec Testcase: testSendError[21: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.018 sec Testcase: testSendError[22: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.021 sec Testcase: testSendError[23: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.018 sec Testcase: testSendError[24: async[true], throw[true], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 3.029 sec Testcase: testSendError[25: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 0.05 sec Testcase: testSendError[26: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 0.032 sec Testcase: testSendError[27: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.038 sec Testcase: testSendError[28: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.057 sec Testcase: testSendError[29: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.028 sec Testcase: testSendError[30: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.016 sec Testcase: testSendError[31: async[true], throw[true], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 3.014 sec