Testsuite: jakarta.servlet.http.TestHttpServletResponseSendError Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.215 sec ------------- Standard Error ----------------- 26-Nov-2024 14:09:04.844 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]]] 26-Nov-2024 14:09:05.616 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 26-Nov-2024 14:09:05.674 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:05.674 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:05.809 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33993"] 26-Nov-2024 14:09:05.938 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33993"] 26-Nov-2024 14:09:05.941 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:05.964 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33993"] 26-Nov-2024 14:09:05.966 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33993"] 26-Nov-2024 14:09:05.975 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]]] 26-Nov-2024 14:09:05.977 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 26-Nov-2024 14:09:05.982 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:05.982 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:05.995 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40763"] 26-Nov-2024 14:09:05.998 SEVERE [http-nio2-127.0.0.1-auto-2-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterServlet.doGet(TestHttpServletResponseSendError.java:195) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 26-Nov-2024 14:09:06.001 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40763"] 26-Nov-2024 14:09:06.002 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:06.006 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40763"] 26-Nov-2024 14:09:06.007 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40763"] 26-Nov-2024 14:09:06.010 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]]] 26-Nov-2024 14:09:06.013 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 26-Nov-2024 14:09:06.020 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:06.021 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:06.031 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44677"] 26-Nov-2024 14:09:06.040 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44677"] 26-Nov-2024 14:09:06.041 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-5" 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) 26-Nov-2024 14:09:08.060 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44677"] 26-Nov-2024 14:09:08.065 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44677"] 26-Nov-2024 14:09:08.071 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]]] 26-Nov-2024 14:09:08.076 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 26-Nov-2024 14:09:08.099 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:08.099 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:08.105 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34357"] 26-Nov-2024 14:09:08.112 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34357"] 26-Nov-2024 14:09:08.117 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:08.610 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) 26-Nov-2024 14:09:10.130 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34357"] 26-Nov-2024 14:09:10.136 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34357"] 26-Nov-2024 14:09:10.144 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]]] 26-Nov-2024 14:09:10.146 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 26-Nov-2024 14:09:10.251 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:10.251 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:10.270 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42805"] 26-Nov-2024 14:09:10.336 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42805"] 26-Nov-2024 14:09:10.338 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-8" 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) 26-Nov-2024 14:09:12.349 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42805"] 26-Nov-2024 14:09:12.355 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42805"] 26-Nov-2024 14:09:12.362 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]]] 26-Nov-2024 14:09:12.366 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 26-Nov-2024 14:09:12.477 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:12.477 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:12.495 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38567"] 26-Nov-2024 14:09:12.504 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38567"] 26-Nov-2024 14:09:12.505 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:13.002 SEVERE [http-nio2-127.0.0.1-auto-6-exec-3] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 26-Nov-2024 14:09:14.519 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38567"] 26-Nov-2024 14:09:14.520 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38567"] 26-Nov-2024 14:09:14.524 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]]] 26-Nov-2024 14:09:14.528 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 26-Nov-2024 14:09:14.559 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:14.559 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:14.577 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37907"] 26-Nov-2024 14:09:14.603 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37907"] 26-Nov-2024 14:09:14.606 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-11" 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) 26-Nov-2024 14:09:16.622 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37907"] 26-Nov-2024 14:09:16.627 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37907"] 26-Nov-2024 14:09:16.630 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]]] 26-Nov-2024 14:09:16.637 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 26-Nov-2024 14:09:16.734 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:16.735 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:16.753 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39183"] 26-Nov-2024 14:09:16.764 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39183"] 26-Nov-2024 14:09:16.766 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:17.263 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) 26-Nov-2024 14:09:18.790 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39183"] 26-Nov-2024 14:09:18.799 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39183"] 26-Nov-2024 14:09:18.803 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]]] 26-Nov-2024 14:09:18.805 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 26-Nov-2024 14:09:18.888 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:18.889 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:18.894 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46599"] 26-Nov-2024 14:09:19.430 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46599"] 26-Nov-2024 14:09:19.433 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:19.436 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46599"] 26-Nov-2024 14:09:19.437 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46599"] 26-Nov-2024 14:09:19.459 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]]] 26-Nov-2024 14:09:19.460 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 26-Nov-2024 14:09:19.550 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:19.550 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:19.572 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36753"] 26-Nov-2024 14:09:20.082 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36753"] 26-Nov-2024 14:09:20.085 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:20.087 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36753"] 26-Nov-2024 14:09:20.088 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36753"] 26-Nov-2024 14:09:20.119 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]]] 26-Nov-2024 14:09:20.121 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 26-Nov-2024 14:09:20.157 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:20.157 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:20.164 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41685"] 26-Nov-2024 14:09:20.181 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41685"] 26-Nov-2024 14:09:20.182 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-19" 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) 26-Nov-2024 14:09:22.199 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41685"] 26-Nov-2024 14:09:22.200 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41685"] 26-Nov-2024 14:09:22.205 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]]] 26-Nov-2024 14:09:22.206 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 26-Nov-2024 14:09:22.311 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:22.311 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:22.334 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-37385"] 26-Nov-2024 14:09:22.342 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-37385"] 26-Nov-2024 14:09:22.343 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:22.842 SEVERE [http-nio2-127.0.0.1-auto-12-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) 26-Nov-2024 14:09:24.364 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-37385"] 26-Nov-2024 14:09:24.365 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-37385"] 26-Nov-2024 14:09:24.372 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]]] 26-Nov-2024 14:09:24.374 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 26-Nov-2024 14:09:24.389 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:24.389 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:24.394 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43459"] 26-Nov-2024 14:09:24.399 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43459"] 26-Nov-2024 14:09:24.400 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-22" 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) 26-Nov-2024 14:09:26.413 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43459"] 26-Nov-2024 14:09:26.417 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43459"] 26-Nov-2024 14:09:26.421 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]]] 26-Nov-2024 14:09:26.422 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 26-Nov-2024 14:09:26.468 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:26.468 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:26.472 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41737"] 26-Nov-2024 14:09:26.476 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41737"] 26-Nov-2024 14:09:26.480 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:26.975 SEVERE [http-nio2-127.0.0.1-auto-14-exec-3] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 26-Nov-2024 14:09:28.485 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41737"] 26-Nov-2024 14:09:28.486 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41737"] 26-Nov-2024 14:09:28.488 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]]] 26-Nov-2024 14:09:28.489 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 26-Nov-2024 14:09:28.491 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:28.491 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:28.495 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33685"] 26-Nov-2024 14:09:28.501 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33685"] 26-Nov-2024 14:09:28.502 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-25" 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) 26-Nov-2024 14:09:30.508 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33685"] 26-Nov-2024 14:09:30.508 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33685"] 26-Nov-2024 14:09:30.510 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]]] 26-Nov-2024 14:09:30.511 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-16"] 26-Nov-2024 14:09:30.514 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:30.514 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:30.517 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-16-36615"] 26-Nov-2024 14:09:30.520 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-16-36615"] 26-Nov-2024 14:09:30.521 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:31.020 SEVERE [http-nio2-127.0.0.1-auto-16-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) 26-Nov-2024 14:09:32.527 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-16-36615"] 26-Nov-2024 14:09:32.529 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-16-36615"] 26-Nov-2024 14:09:32.539 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]]] 26-Nov-2024 14:09:32.542 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-17"] 26-Nov-2024 14:09:32.551 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:32.552 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:32.555 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-17-41043"] 26-Nov-2024 14:09:33.063 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-17-41043"] 26-Nov-2024 14:09:33.064 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:33.066 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-17-41043"] 26-Nov-2024 14:09:33.067 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-17-41043"] 26-Nov-2024 14:09:33.068 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]]] 26-Nov-2024 14:09:33.070 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-18"] 26-Nov-2024 14:09:33.071 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:33.071 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:33.074 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-18-41109"] 26-Nov-2024 14:09:33.578 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-18-41109"] 26-Nov-2024 14:09:33.578 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:33.580 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-18-41109"] 26-Nov-2024 14:09:33.580 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-18-41109"] 26-Nov-2024 14:09:33.582 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]]] 26-Nov-2024 14:09:33.584 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-19"] 26-Nov-2024 14:09:33.588 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:33.588 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:33.591 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-19-44283"] 26-Nov-2024 14:09:33.592 SEVERE [http-nio2-127.0.0.1-auto-19-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:228) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 26-Nov-2024 14:09:33.594 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-19-44283"] 26-Nov-2024 14:09:33.594 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:33.596 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-19-44283"] 26-Nov-2024 14:09:33.596 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-19-44283"] 26-Nov-2024 14:09:33.598 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]]] 26-Nov-2024 14:09:33.599 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-20"] 26-Nov-2024 14:09:33.601 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:33.601 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:33.604 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-20-42501"] 26-Nov-2024 14:09:33.605 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) 26-Nov-2024 14:09:33.607 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-20-42501"] 26-Nov-2024 14:09:33.607 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:33.609 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-20-42501"] 26-Nov-2024 14:09:33.609 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-20-42501"] 26-Nov-2024 14:09:33.611 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]]] 26-Nov-2024 14:09:33.612 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-21"] 26-Nov-2024 14:09:33.614 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:33.614 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:33.616 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-21-40233"] 26-Nov-2024 14:09:33.618 SEVERE [http-nio2-127.0.0.1-auto-21-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:235) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 26-Nov-2024 14:09:33.619 SEVERE [http-nio2-127.0.0.1-auto-21-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:305) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:196) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 26-Nov-2024 14:09:33.620 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-21-40233"] 26-Nov-2024 14:09:33.621 INFO [http-nio2-127.0.0.1-auto-21-exec-2] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1432) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1094) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1069) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 26-Nov-2024 14:09:33.622 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:35.628 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-21-40233"] 26-Nov-2024 14:09:35.629 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-21-40233"] 26-Nov-2024 14:09:35.631 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]]] 26-Nov-2024 14:09:35.633 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-22"] 26-Nov-2024 14:09:35.636 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:35.636 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:35.639 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-22-37937"] 26-Nov-2024 14:09:35.641 SEVERE [http-nio2-127.0.0.1-auto-22-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) 26-Nov-2024 14:09:35.642 SEVERE [http-nio2-127.0.0.1-auto-22-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) 26-Nov-2024 14:09:35.643 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-22-37937"] 26-Nov-2024 14:09:35.643 INFO [http-nio2-127.0.0.1-auto-22-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) 26-Nov-2024 14:09:35.645 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:37.651 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-22-37937"] 26-Nov-2024 14:09:37.651 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-22-37937"] 26-Nov-2024 14:09:37.657 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]]] 26-Nov-2024 14:09:37.659 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-23"] 26-Nov-2024 14:09:37.672 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:37.673 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:37.675 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-23-44091"] 26-Nov-2024 14:09:37.677 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) 26-Nov-2024 14:09:37.678 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) 26-Nov-2024 14:09:37.678 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) 26-Nov-2024 14:09:37.679 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-23-44091"] 26-Nov-2024 14:09:37.679 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-37" 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) 26-Nov-2024 14:09:39.684 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-23-44091"] 26-Nov-2024 14:09:39.685 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-23-44091"] 26-Nov-2024 14:09:39.687 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]]] 26-Nov-2024 14:09:39.688 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-24"] 26-Nov-2024 14:09:39.693 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:39.693 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:39.697 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-24-43601"] 26-Nov-2024 14:09:39.699 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) 26-Nov-2024 14:09:39.700 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) 26-Nov-2024 14:09:39.700 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) 26-Nov-2024 14:09:39.701 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-24-43601"] 26-Nov-2024 14:09:39.702 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:40.199 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) 26-Nov-2024 14:09:41.707 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-24-43601"] 26-Nov-2024 14:09:41.708 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-24-43601"] 26-Nov-2024 14:09:41.712 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]]] 26-Nov-2024 14:09:41.713 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-25"] 26-Nov-2024 14:09:41.731 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:41.731 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:41.737 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-25-35499"] 26-Nov-2024 14:09:42.245 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) 26-Nov-2024 14:09:44.739 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-25-35499"] 26-Nov-2024 14:09:44.740 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:44.742 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-25-35499"] 26-Nov-2024 14:09:44.742 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-25-35499"] 26-Nov-2024 14:09:44.744 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]]] 26-Nov-2024 14:09:44.746 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-26"] 26-Nov-2024 14:09:44.749 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:44.749 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:44.752 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-26-39435"] 26-Nov-2024 14:09:44.754 SEVERE [http-nio2-127.0.0.1-auto-26-exec-1] 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) 26-Nov-2024 14:09:44.756 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-26-39435"] 26-Nov-2024 14:09:44.756 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:44.758 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-26-39435"] 26-Nov-2024 14:09:44.758 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-26-39435"] 26-Nov-2024 14:09:44.761 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]]] 26-Nov-2024 14:09:44.763 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-27"] 26-Nov-2024 14:09:44.765 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:44.765 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:44.768 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-27-43515"] 26-Nov-2024 14:09:44.776 SEVERE [http-nio2-127.0.0.1-auto-27-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:228) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint$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) 26-Nov-2024 14:09:44.777 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-27-43515"] 26-Nov-2024 14:09:44.778 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:44.779 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-27-43515"] 26-Nov-2024 14:09:44.780 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-27-43515"] 26-Nov-2024 14:09:44.782 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]]] 26-Nov-2024 14:09:44.783 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-28"] 26-Nov-2024 14:09:44.785 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:44.785 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:44.787 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-28-38509"] 26-Nov-2024 14:09:44.788 SEVERE [http-nio2-127.0.0.1-auto-28-exec-1] 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) 26-Nov-2024 14:09:44.789 SEVERE [http-nio2-127.0.0.1-auto-28-exec-1] 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) 26-Nov-2024 14:09:44.789 INFO [http-nio2-127.0.0.1-auto-28-exec-1] 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) 26-Nov-2024 14:09:44.789 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-28-38509"] 26-Nov-2024 14:09:44.790 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:46.795 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-28-38509"] 26-Nov-2024 14:09:46.796 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-28-38509"] 26-Nov-2024 14:09:46.799 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]]] 26-Nov-2024 14:09:46.801 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-29"] 26-Nov-2024 14:09:46.810 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:46.810 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:46.813 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-29-41313"] 26-Nov-2024 14:09:46.814 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) 26-Nov-2024 14:09:46.815 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) 26-Nov-2024 14:09:46.816 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) 26-Nov-2024 14:09:46.816 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-29-41313"] 26-Nov-2024 14:09:46.817 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:48.829 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-29-41313"] 26-Nov-2024 14:09:48.830 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-29-41313"] 26-Nov-2024 14:09:48.833 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]]] 26-Nov-2024 14:09:48.834 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-30"] 26-Nov-2024 14:09:48.835 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:48.835 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:48.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-30-39759"] 26-Nov-2024 14:09:48.843 SEVERE [http-nio2-127.0.0.1-auto-30-exec-6] 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) 26-Nov-2024 14:09:48.844 SEVERE [http-nio2-127.0.0.1-auto-30-exec-6] 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) 26-Nov-2024 14:09:48.844 INFO [http-nio2-127.0.0.1-auto-30-exec-6] 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) 26-Nov-2024 14:09:48.845 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-30-39759"] 26-Nov-2024 14:09:48.845 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-47" 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) 26-Nov-2024 14:09:50.851 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-30-39759"] 26-Nov-2024 14:09:50.851 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-30-39759"] 26-Nov-2024 14:09:50.853 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]]] 26-Nov-2024 14:09:50.854 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-31"] 26-Nov-2024 14:09:50.855 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:50.856 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:50.858 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-31-41283"] 26-Nov-2024 14:09:50.860 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) 26-Nov-2024 14:09:50.860 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) 26-Nov-2024 14:09:50.861 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-31-41283"] 26-Nov-2024 14:09:50.861 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) 26-Nov-2024 14:09:50.863 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:51.360 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) 26-Nov-2024 14:09:52.868 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-31-41283"] 26-Nov-2024 14:09:52.868 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-31-41283"] 26-Nov-2024 14:09:52.870 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]]] 26-Nov-2024 14:09:52.871 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-32"] 26-Nov-2024 14:09:52.874 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:09:52.874 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:09:52.876 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-32-42733"] 26-Nov-2024 14:09:53.378 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) 26-Nov-2024 14:09:55.878 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-32-42733"] 26-Nov-2024 14:09:55.880 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:09:55.882 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-32-42733"] 26-Nov-2024 14:09:55.882 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-32-42733"] ------------- ---------------- --------------- Testcase: testSendError[0: async[false], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 1.229 sec Testcase: testSendError[1: async[false], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 0.036 sec Testcase: testSendError[2: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 2.06 sec Testcase: testSendError[3: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 2.073 sec Testcase: testSendError[4: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.216 sec Testcase: testSendError[5: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.163 sec Testcase: testSendError[6: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.106 sec Testcase: testSendError[7: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.172 sec Testcase: testSendError[8: async[true], throw[false], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[false]] took 0.655 sec Testcase: testSendError[9: async[true], throw[false], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 0.66 sec Testcase: testSendError[10: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 2.085 sec Testcase: testSendError[11: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 2.168 sec Testcase: testSendError[12: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.048 sec Testcase: testSendError[13: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.067 sec Testcase: testSendError[14: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.022 sec Testcase: testSendError[15: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.026 sec Testcase: testSendError[16: async[true], throw[false], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[false]] took 0.532 sec Testcase: testSendError[17: async[true], throw[false], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 0.514 sec Testcase: testSendError[18: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 0.016 sec Testcase: testSendError[19: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 0.012 sec Testcase: testSendError[20: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.019 sec Testcase: testSendError[21: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.025 sec Testcase: testSendError[22: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.029 sec Testcase: testSendError[23: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.025 sec Testcase: testSendError[24: async[true], throw[true], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 3.033 sec Testcase: testSendError[25: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 0.017 sec Testcase: testSendError[26: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 0.02 sec Testcase: testSendError[27: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.018 sec Testcase: testSendError[28: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.033 sec Testcase: testSendError[29: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.02 sec Testcase: testSendError[30: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.017 sec Testcase: testSendError[31: async[true], throw[true], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 3.014 sec