Testsuite: jakarta.servlet.http.TestHttpServletResponseSendError Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.509 sec ------------- Standard Error ----------------- 02-Dec-2024 13:11:54.360 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]]] 02-Dec-2024 13:11:55.221 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 02-Dec-2024 13:11:55.281 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:11:55.282 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:11:55.405 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44257"] 02-Dec-2024 13:11:55.516 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44257"] 02-Dec-2024 13:11:55.518 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:11:55.535 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44257"] 02-Dec-2024 13:11:55.539 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44257"] 02-Dec-2024 13:11:55.551 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]]] 02-Dec-2024 13:11:55.553 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 02-Dec-2024 13:11:55.563 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:11:55.563 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:11:55.575 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37947"] 02-Dec-2024 13:11:55.577 SEVERE [http-nio2-127.0.0.1-auto-2-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterServlet.doGet(TestHttpServletResponseSendError.java:195) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:11:55.580 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37947"] 02-Dec-2024 13:11:55.582 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:11:55.592 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37947"] 02-Dec-2024 13:11:55.593 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37947"] 02-Dec-2024 13:11:55.601 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]]] 02-Dec-2024 13:11:55.623 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 02-Dec-2024 13:11:55.646 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:11:55.646 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:11:55.657 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45623"] 02-Dec-2024 13:11:55.672 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45623"] 02-Dec-2024 13:11:55.675 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) 02-Dec-2024 13:11:57.688 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45623"] 02-Dec-2024 13:11:57.695 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45623"] 02-Dec-2024 13:11:57.709 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]]] 02-Dec-2024 13:11:57.713 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 02-Dec-2024 13:11:57.769 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:11:57.769 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:11:57.776 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37291"] 02-Dec-2024 13:11:57.784 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37291"] 02-Dec-2024 13:11:57.787 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:11:58.282 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) 02-Dec-2024 13:11:59.801 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37291"] 02-Dec-2024 13:11:59.806 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37291"] 02-Dec-2024 13:11:59.811 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]]] 02-Dec-2024 13:11:59.823 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 02-Dec-2024 13:11:59.859 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:11:59.860 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:11:59.864 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35727"] 02-Dec-2024 13:11:59.869 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35727"] 02-Dec-2024 13:11:59.872 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) 02-Dec-2024 13:12:01.893 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35727"] 02-Dec-2024 13:12:01.895 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35727"] 02-Dec-2024 13:12:01.904 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]]] 02-Dec-2024 13:12:01.909 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 02-Dec-2024 13:12:02.018 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:02.019 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:02.033 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41629"] 02-Dec-2024 13:12:02.052 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41629"] 02-Dec-2024 13:12:02.057 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:02.552 SEVERE [http-nio2-127.0.0.1-auto-6-exec-2] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:04.087 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41629"] 02-Dec-2024 13:12:04.091 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41629"] 02-Dec-2024 13:12:04.096 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]]] 02-Dec-2024 13:12:04.101 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 02-Dec-2024 13:12:04.202 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:04.202 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:04.222 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33053"] 02-Dec-2024 13:12:04.262 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33053"] 02-Dec-2024 13:12:04.262 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) 02-Dec-2024 13:12:06.274 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33053"] 02-Dec-2024 13:12:06.278 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33053"] 02-Dec-2024 13:12:06.282 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]]] 02-Dec-2024 13:12:06.288 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 02-Dec-2024 13:12:06.291 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:06.291 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:06.299 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35405"] 02-Dec-2024 13:12:06.310 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35405"] 02-Dec-2024 13:12:06.313 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:06.810 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) 02-Dec-2024 13:12:08.329 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35405"] 02-Dec-2024 13:12:08.330 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35405"] 02-Dec-2024 13:12:08.333 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]]] 02-Dec-2024 13:12:08.335 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 02-Dec-2024 13:12:08.396 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:08.396 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:08.405 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33289"] 02-Dec-2024 13:12:08.920 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33289"] 02-Dec-2024 13:12:08.921 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:08.923 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33289"] 02-Dec-2024 13:12:08.924 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33289"] 02-Dec-2024 13:12:08.937 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]]] 02-Dec-2024 13:12:08.941 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 02-Dec-2024 13:12:09.047 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:09.048 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:09.061 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33351"] 02-Dec-2024 13:12:09.573 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33351"] 02-Dec-2024 13:12:09.576 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:09.579 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33351"] 02-Dec-2024 13:12:09.580 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33351"] 02-Dec-2024 13:12:09.586 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]]] 02-Dec-2024 13:12:09.592 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 02-Dec-2024 13:12:09.689 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:09.689 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:09.713 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44451"] 02-Dec-2024 13:12:09.730 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44451"] 02-Dec-2024 13:12:09.731 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) 02-Dec-2024 13:12:11.759 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44451"] 02-Dec-2024 13:12:11.767 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44451"] 02-Dec-2024 13:12:11.776 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]]] 02-Dec-2024 13:12:11.778 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 02-Dec-2024 13:12:11.889 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:11.889 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:11.909 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-34401"] 02-Dec-2024 13:12:11.930 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-34401"] 02-Dec-2024 13:12:11.931 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:12.429 SEVERE [http-nio2-127.0.0.1-auto-12-exec-3] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:13.956 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-34401"] 02-Dec-2024 13:12:13.956 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-34401"] 02-Dec-2024 13:12:13.964 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]]] 02-Dec-2024 13:12:13.970 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 02-Dec-2024 13:12:13.979 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:13.979 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:13.984 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-39795"] 02-Dec-2024 13:12:14.020 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-39795"] 02-Dec-2024 13:12:14.023 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) 02-Dec-2024 13:12:16.030 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-39795"] 02-Dec-2024 13:12:16.031 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-39795"] 02-Dec-2024 13:12:16.036 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]]] 02-Dec-2024 13:12:16.038 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 02-Dec-2024 13:12:16.208 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:16.208 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:16.232 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-42633"] 02-Dec-2024 13:12:16.245 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-42633"] 02-Dec-2024 13:12:16.248 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:16.745 SEVERE [http-nio2-127.0.0.1-auto-14-exec-2] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:18.263 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-42633"] 02-Dec-2024 13:12:18.263 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-42633"] 02-Dec-2024 13:12:18.266 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]]] 02-Dec-2024 13:12:18.267 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 02-Dec-2024 13:12:18.275 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:18.275 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:18.282 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33579"] 02-Dec-2024 13:12:18.286 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33579"] 02-Dec-2024 13:12:18.288 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) 02-Dec-2024 13:12:20.294 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33579"] 02-Dec-2024 13:12:20.294 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33579"] 02-Dec-2024 13:12:20.296 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]]] 02-Dec-2024 13:12:20.297 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-16"] 02-Dec-2024 13:12:20.299 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:20.299 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:20.303 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-16-40283"] 02-Dec-2024 13:12:20.306 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-16-40283"] 02-Dec-2024 13:12:20.306 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:20.805 SEVERE [http-nio2-127.0.0.1-auto-16-exec-3] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:434) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:286) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:292) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:22.312 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-16-40283"] 02-Dec-2024 13:12:22.313 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-16-40283"] 02-Dec-2024 13:12:22.315 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]]] 02-Dec-2024 13:12:22.317 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-17"] 02-Dec-2024 13:12:22.319 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:22.319 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:22.322 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-17-45671"] 02-Dec-2024 13:12:22.826 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-17-45671"] 02-Dec-2024 13:12:22.827 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:22.829 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-17-45671"] 02-Dec-2024 13:12:22.829 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-17-45671"] 02-Dec-2024 13:12:22.831 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]]] 02-Dec-2024 13:12:22.832 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-18"] 02-Dec-2024 13:12:22.834 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:22.835 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:22.837 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-18-43937"] 02-Dec-2024 13:12:23.340 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-18-43937"] 02-Dec-2024 13:12:23.341 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:23.343 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-18-43937"] 02-Dec-2024 13:12:23.343 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-18-43937"] 02-Dec-2024 13:12:23.345 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]]] 02-Dec-2024 13:12:23.346 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-19"] 02-Dec-2024 13:12:23.348 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:23.349 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:23.351 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-19-38643"] 02-Dec-2024 13:12:23.353 SEVERE [http-nio2-127.0.0.1-auto-19-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:228) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:23.354 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-19-38643"] 02-Dec-2024 13:12:23.355 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:23.357 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-19-38643"] 02-Dec-2024 13:12:23.357 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-19-38643"] 02-Dec-2024 13:12:23.359 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]]] 02-Dec-2024 13:12:23.360 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-20"] 02-Dec-2024 13:12:23.365 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:23.365 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:23.367 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-20-41609"] 02-Dec-2024 13:12:23.369 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) 02-Dec-2024 13:12:23.370 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-20-41609"] 02-Dec-2024 13:12:23.371 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:23.373 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-20-41609"] 02-Dec-2024 13:12:23.373 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-20-41609"] 02-Dec-2024 13:12:23.376 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]]] 02-Dec-2024 13:12:23.377 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-21"] 02-Dec-2024 13:12:23.379 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:23.379 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:23.382 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-21-34973"] 02-Dec-2024 13:12:23.384 SEVERE [http-nio2-127.0.0.1-auto-21-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java: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) 02-Dec-2024 13:12:23.385 SEVERE [http-nio2-127.0.0.1-auto-21-exec-4] 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) 02-Dec-2024 13:12:23.386 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-21-34973"] 02-Dec-2024 13:12:23.389 INFO [http-nio2-127.0.0.1-auto-21-exec-4] 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) 02-Dec-2024 13:12:23.389 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:25.395 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-21-34973"] 02-Dec-2024 13:12:25.396 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-21-34973"] 02-Dec-2024 13:12:25.398 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]]] 02-Dec-2024 13:12:25.399 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-22"] 02-Dec-2024 13:12:25.401 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:25.401 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:25.403 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-22-44079"] 02-Dec-2024 13:12:25.405 SEVERE [http-nio2-127.0.0.1-auto-22-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:235) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:25.406 SEVERE [http-nio2-127.0.0.1-auto-22-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:305) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:196) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:25.406 INFO [http-nio2-127.0.0.1-auto-22-exec-2] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1432) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1094) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1069) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:25.406 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-22-44079"] 02-Dec-2024 13:12:25.407 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:27.413 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-22-44079"] 02-Dec-2024 13:12:27.413 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-22-44079"] 02-Dec-2024 13:12:27.416 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]]] 02-Dec-2024 13:12:27.417 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-23"] 02-Dec-2024 13:12:27.418 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:27.419 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:27.421 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-23-40171"] 02-Dec-2024 13:12:27.423 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) 02-Dec-2024 13:12:27.425 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) 02-Dec-2024 13:12:27.425 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) 02-Dec-2024 13:12:27.425 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-23-40171"] 02-Dec-2024 13:12:27.428 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) 02-Dec-2024 13:12:29.434 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-23-40171"] 02-Dec-2024 13:12:29.434 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-23-40171"] 02-Dec-2024 13:12:29.437 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]]] 02-Dec-2024 13:12:29.438 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-24"] 02-Dec-2024 13:12:29.440 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:29.440 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:29.442 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-24-35775"] 02-Dec-2024 13:12:29.445 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) 02-Dec-2024 13:12:29.446 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) 02-Dec-2024 13:12:29.447 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) 02-Dec-2024 13:12:29.448 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-24-35775"] 02-Dec-2024 13:12:29.448 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:29.945 SEVERE [http-nio2-127.0.0.1-auto-24-exec-8] 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) 02-Dec-2024 13:12:31.457 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-24-35775"] 02-Dec-2024 13:12:31.457 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-24-35775"] 02-Dec-2024 13:12:31.461 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]]] 02-Dec-2024 13:12:31.463 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-25"] 02-Dec-2024 13:12:31.477 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:31.477 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:31.480 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-25-41389"] 02-Dec-2024 13:12:31.981 SEVERE [http-nio2-127.0.0.1-auto-25-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) 02-Dec-2024 13:12:34.482 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-25-41389"] 02-Dec-2024 13:12:34.483 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:34.484 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-25-41389"] 02-Dec-2024 13:12:34.484 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-25-41389"] 02-Dec-2024 13:12:34.486 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]]] 02-Dec-2024 13:12:34.487 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-26"] 02-Dec-2024 13:12:34.489 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:34.489 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:34.494 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-26-45541"] 02-Dec-2024 13:12:34.495 SEVERE [http-nio2-127.0.0.1-auto-26-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:228) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:34.497 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-26-45541"] 02-Dec-2024 13:12:34.498 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:34.499 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-26-45541"] 02-Dec-2024 13:12:34.500 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-26-45541"] 02-Dec-2024 13:12:34.502 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]]] 02-Dec-2024 13:12:34.503 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-27"] 02-Dec-2024 13:12:34.506 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:34.506 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:34.510 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-27-38805"] 02-Dec-2024 13:12:34.512 SEVERE [http-nio2-127.0.0.1-auto-27-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:228) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:34.513 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-27-38805"] 02-Dec-2024 13:12:34.514 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:34.515 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-27-38805"] 02-Dec-2024 13:12:34.516 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-27-38805"] 02-Dec-2024 13:12:34.517 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]]] 02-Dec-2024 13:12:34.518 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-28"] 02-Dec-2024 13:12:34.520 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:34.520 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:34.522 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-28-39731"] 02-Dec-2024 13:12:34.524 SEVERE [http-nio2-127.0.0.1-auto-28-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:235) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:34.524 SEVERE [http-nio2-127.0.0.1-auto-28-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:305) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:196) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:34.525 INFO [http-nio2-127.0.0.1-auto-28-exec-2] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1432) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1094) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1069) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:34.525 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-28-39731"] 02-Dec-2024 13:12:34.526 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:36.532 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-28-39731"] 02-Dec-2024 13:12:36.533 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-28-39731"] 02-Dec-2024 13:12:36.535 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]]] 02-Dec-2024 13:12:36.537 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-29"] 02-Dec-2024 13:12:36.545 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:36.545 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:36.549 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-29-42331"] 02-Dec-2024 13:12:36.551 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) 02-Dec-2024 13:12:36.553 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) 02-Dec-2024 13:12:36.553 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) 02-Dec-2024 13:12:36.554 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-29-42331"] 02-Dec-2024 13:12:36.556 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:38.564 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-29-42331"] 02-Dec-2024 13:12:38.564 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-29-42331"] 02-Dec-2024 13:12:38.566 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]]] 02-Dec-2024 13:12:38.567 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-30"] 02-Dec-2024 13:12:38.569 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:38.569 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:38.573 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-30-35697"] 02-Dec-2024 13:12:38.575 SEVERE [http-nio2-127.0.0.1-auto-30-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:248) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:395) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:38.576 SEVERE [http-nio2-127.0.0.1-auto-30-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:305) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:196) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:38.576 INFO [http-nio2-127.0.0.1-auto-30-exec-2] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1432) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1094) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1069) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:38.576 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-30-35697"] 02-Dec-2024 13:12:38.577 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-45" 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) 02-Dec-2024 13:12:40.582 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-30-35697"] 02-Dec-2024 13:12:40.583 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-30-35697"] 02-Dec-2024 13:12:40.585 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]]] 02-Dec-2024 13:12:40.586 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-31"] 02-Dec-2024 13:12:40.588 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:40.588 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:40.591 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-31-46215"] 02-Dec-2024 13:12:40.593 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) 02-Dec-2024 13:12:40.594 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) 02-Dec-2024 13:12:40.594 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) 02-Dec-2024 13:12:40.594 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-31-46215"] 02-Dec-2024 13:12:40.595 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:41.093 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) 02-Dec-2024 13:12:42.601 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-31-46215"] 02-Dec-2024 13:12:42.601 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-31-46215"] 02-Dec-2024 13:12:42.603 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]]] 02-Dec-2024 13:12:42.605 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-32"] 02-Dec-2024 13:12:42.625 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 13:12:42.625 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 13:12:42.631 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-32-34915"] 02-Dec-2024 13:12:43.134 SEVERE [http-nio2-127.0.0.1-auto-32-exec-2] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:287) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:560) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 02-Dec-2024 13:12:45.633 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-32-34915"] 02-Dec-2024 13:12:45.634 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 13:12:45.636 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-32-34915"] 02-Dec-2024 13:12:45.636 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-32-34915"] ------------- ---------------- --------------- Testcase: testSendError[0: async[false], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 1.354 sec Testcase: testSendError[1: async[false], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 0.05 sec Testcase: testSendError[2: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 2.107 sec Testcase: testSendError[3: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 2.103 sec Testcase: testSendError[4: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.088 sec Testcase: testSendError[5: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.196 sec Testcase: testSendError[6: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.186 sec Testcase: testSendError[7: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.05 sec Testcase: testSendError[8: async[true], throw[false], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[false]] took 0.603 sec Testcase: testSendError[9: async[true], throw[false], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 0.649 sec Testcase: testSendError[10: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 2.188 sec Testcase: testSendError[11: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 2.189 sec Testcase: testSendError[12: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.07 sec Testcase: testSendError[13: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.231 sec Testcase: testSendError[14: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.031 sec Testcase: testSendError[15: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.019 sec Testcase: testSendError[16: async[true], throw[false], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[false]] took 0.516 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.013 sec Testcase: testSendError[19: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 0.017 sec Testcase: testSendError[20: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.021 sec Testcase: testSendError[21: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.018 sec Testcase: testSendError[22: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.022 sec Testcase: testSendError[23: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.024 sec Testcase: testSendError[24: async[true], throw[true], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 3.025 sec Testcase: testSendError[25: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 0.016 sec Testcase: testSendError[26: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 0.015 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.031 sec Testcase: testSendError[29: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.019 sec Testcase: testSendError[30: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.018 sec Testcase: testSendError[31: async[true], throw[true], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 3.034 sec