Testsuite: jakarta.servlet.http.TestHttpServletResponseSendError Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.976 sec ------------- Standard Error ----------------- 24-Jan-2024 21:16:26.647 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]]] 24-Jan-2024 21:16:27.604 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 24-Jan-2024 21:16:27.764 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:27.765 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:27.963 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40719"] 24-Jan-2024 21:16:28.274 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40719"] 24-Jan-2024 21:16:28.277 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:28.339 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40719"] 24-Jan-2024 21:16:28.352 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40719"] 24-Jan-2024 21:16:28.387 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]]] 24-Jan-2024 21:16:28.407 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 24-Jan-2024 21:16:28.519 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:28.519 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:28.557 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35601"] 24-Jan-2024 21:16:28.563 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:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:28.568 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35601"] 24-Jan-2024 21:16:28.570 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:28.572 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation. Stack trace of request processing thread:[ java.base@17.0.7/sun.nio.ch.FileDispatcherImpl.write0(Native Method) java.base@17.0.7/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62) java.base@17.0.7/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:132) java.base@17.0.7/sun.nio.ch.IOUtil.write(IOUtil.java:97) java.base@17.0.7/sun.nio.ch.IOUtil.write(IOUtil.java:60) java.base@17.0.7/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implWrite(UnixAsynchronousSocketChannelImpl.java:713) java.base@17.0.7/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:382) java.base@17.0.7/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:387) app//org.apache.tomcat.util.net.Nio2Channel.write(Nio2Channel.java:167) app//org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper.doWrite(Nio2Endpoint.java:1261) app//org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:764) app//org.apache.tomcat.util.net.SocketWrapperBase.flushBlocking(SocketWrapperBase.java:728) app//org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper.flushBlocking(Nio2Endpoint.java:1304) app//org.apache.tomcat.util.net.SocketWrapperBase.flush(SocketWrapperBase.java:712) app//org.apache.coyote.http11.Http11OutputBuffer$SocketOutputBuffer.end(Http11OutputBuffer.java:561) app//org.apache.coyote.http11.filters.IdentityOutputFilter.end(IdentityOutputFilter.java:123) app//org.apache.coyote.http11.Http11OutputBuffer.end(Http11OutputBuffer.java:234) app//org.apache.coyote.http11.Http11Processor.finishResponse(Http11Processor.java:1219) app//org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:387) app//org.apache.coyote.Response.action(Response.java:208) app//org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:256) app//org.apache.catalina.connector.Response.finishResponse(Response.java:416) app//org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:290) app//org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:149) app//org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) app//org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) app//org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340) app//org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) app//org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) app//org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) app//org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) app//org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) app//org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) app//org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) java.base@17.0.7/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) java.base@17.0.7/sun.nio.ch.Invoker$2.run(Invoker.java:221) java.base@17.0.7/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) app//org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) app//org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) app//org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.base@17.0.7/java.lang.Thread.run(Thread.java:833)] 24-Jan-2024 21:16:28.574 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35601"] 24-Jan-2024 21:16:28.575 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35601"] 24-Jan-2024 21:16:28.580 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]]] 24-Jan-2024 21:16:28.582 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 24-Jan-2024 21:16:28.644 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:28.645 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:28.673 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45329"] 24-Jan-2024 21:16:28.719 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45329"] 24-Jan-2024 21:16:28.722 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:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:301) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:30.729 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45329"] 24-Jan-2024 21:16:30.738 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-45329"] 24-Jan-2024 21:16:30.741 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]]] 24-Jan-2024 21:16:30.743 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 24-Jan-2024 21:16:30.875 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:30.875 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:30.882 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34537"] 24-Jan-2024 21:16:30.889 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34537"] 24-Jan-2024 21:16:30.890 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:31.390 SEVERE [http-nio2-127.0.0.1-auto-4-exec-2] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:301) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:531) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:32.937 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34537"] 24-Jan-2024 21:16:32.937 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34537"] 24-Jan-2024 21:16:32.944 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]]] 24-Jan-2024 21:16:32.951 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 24-Jan-2024 21:16:33.042 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:33.042 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:33.047 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35169"] 24-Jan-2024 21:16:33.058 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35169"] 24-Jan-2024 21:16:33.063 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:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:301) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:35.084 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35169"] 24-Jan-2024 21:16:35.085 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35169"] 24-Jan-2024 21:16:35.089 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]]] 24-Jan-2024 21:16:35.092 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 24-Jan-2024 21:16:35.130 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:35.130 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:35.155 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42595"] 24-Jan-2024 21:16:35.169 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42595"] 24-Jan-2024 21:16:35.172 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:35.669 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:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:301) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:531) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:37.182 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42595"] 24-Jan-2024 21:16:37.183 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42595"] 24-Jan-2024 21:16:37.188 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]]] 24-Jan-2024 21:16:37.189 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 24-Jan-2024 21:16:37.222 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:37.223 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:37.235 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38691"] 24-Jan-2024 21:16:37.243 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38691"] 24-Jan-2024 21:16:37.244 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:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:301) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:39.257 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38691"] 24-Jan-2024 21:16:39.258 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38691"] 24-Jan-2024 21:16:39.265 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]]] 24-Jan-2024 21:16:39.266 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 24-Jan-2024 21:16:39.328 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:39.329 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:39.335 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42329"] 24-Jan-2024 21:16:39.343 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42329"] 24-Jan-2024 21:16:39.344 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:39.839 SEVERE [http-nio2-127.0.0.1-auto-8-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:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:301) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:531) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:41.364 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42329"] 24-Jan-2024 21:16:41.365 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42329"] 24-Jan-2024 21:16:41.371 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]]] 24-Jan-2024 21:16:41.373 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 24-Jan-2024 21:16:41.411 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:41.411 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:41.439 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43255"] 24-Jan-2024 21:16:41.958 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43255"] 24-Jan-2024 21:16:41.960 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:41.962 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43255"] 24-Jan-2024 21:16:41.964 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43255"] 24-Jan-2024 21:16:41.969 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]]] 24-Jan-2024 21:16:41.972 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 24-Jan-2024 21:16:42.090 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:42.091 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:42.102 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44001"] 24-Jan-2024 21:16:42.606 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44001"] 24-Jan-2024 21:16:42.608 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:42.610 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44001"] 24-Jan-2024 21:16:42.619 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44001"] 24-Jan-2024 21:16:42.622 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]]] 24-Jan-2024 21:16:42.623 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 24-Jan-2024 21:16:42.684 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:42.684 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:42.707 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39077"] 24-Jan-2024 21:16:42.726 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39077"] 24-Jan-2024 21:16:42.726 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:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:301) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:44.744 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39077"] 24-Jan-2024 21:16:44.745 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39077"] 24-Jan-2024 21:16:44.755 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]]] 24-Jan-2024 21:16:44.757 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 24-Jan-2024 21:16:44.780 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:44.780 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:44.799 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-40229"] 24-Jan-2024 21:16:44.804 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-40229"] 24-Jan-2024 21:16:44.807 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:45.303 SEVERE [http-nio2-127.0.0.1-auto-12-exec-2] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:301) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:531) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:46.820 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-40229"] 24-Jan-2024 21:16:46.820 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-40229"] 24-Jan-2024 21:16:46.827 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]]] 24-Jan-2024 21:16:46.828 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 24-Jan-2024 21:16:46.867 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:46.867 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:46.877 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-33383"] 24-Jan-2024 21:16:46.884 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-33383"] 24-Jan-2024 21:16:46.886 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:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:301) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:48.901 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-33383"] 24-Jan-2024 21:16:48.902 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-33383"] 24-Jan-2024 21:16:48.904 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]]] 24-Jan-2024 21:16:48.905 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 24-Jan-2024 21:16:48.909 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:48.909 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:48.911 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33941"] 24-Jan-2024 21:16:48.914 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33941"] 24-Jan-2024 21:16:48.917 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:49.414 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:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:301) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:531) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:50.922 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33941"] 24-Jan-2024 21:16:50.923 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33941"] 24-Jan-2024 21:16:50.924 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]]] 24-Jan-2024 21:16:50.925 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 24-Jan-2024 21:16:50.927 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:50.927 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:50.931 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45735"] 24-Jan-2024 21:16:50.934 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45735"] 24-Jan-2024 21:16:50.937 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:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:301) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:52.942 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45735"] 24-Jan-2024 21:16:52.942 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45735"] 24-Jan-2024 21:16:52.949 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]]] 24-Jan-2024 21:16:52.954 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-16"] 24-Jan-2024 21:16:52.983 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:52.983 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:52.994 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-16-42681"] 24-Jan-2024 21:16:52.999 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-16-42681"] 24-Jan-2024 21:16:53.000 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:53.498 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:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:301) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:531) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:55.005 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-16-42681"] 24-Jan-2024 21:16:55.006 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-16-42681"] 24-Jan-2024 21:16:55.009 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]]] 24-Jan-2024 21:16:55.010 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-17"] 24-Jan-2024 21:16:55.014 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:55.014 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:55.017 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-17-34047"] 24-Jan-2024 21:16:55.522 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-17-34047"] 24-Jan-2024 21:16:55.522 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:55.524 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-17-34047"] 24-Jan-2024 21:16:55.524 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-17-34047"] 24-Jan-2024 21:16:55.526 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]]] 24-Jan-2024 21:16:55.527 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-18"] 24-Jan-2024 21:16:55.529 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:55.530 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:55.533 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-18-43657"] 24-Jan-2024 21:16:56.036 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-18-43657"] 24-Jan-2024 21:16:56.037 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:56.038 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-18-43657"] 24-Jan-2024 21:16:56.039 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-18-43657"] 24-Jan-2024 21:16:56.041 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]]] 24-Jan-2024 21:16:56.042 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-19"] 24-Jan-2024 21:16:56.043 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:56.044 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:56.046 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-19-39429"] 24-Jan-2024 21:16:56.047 SEVERE [http-nio2-127.0.0.1-auto-19-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:228) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:56.048 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-19-39429"] 24-Jan-2024 21:16:56.049 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:56.050 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-19-39429"] 24-Jan-2024 21:16:56.050 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-19-39429"] 24-Jan-2024 21:16:56.056 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]]] 24-Jan-2024 21:16:56.057 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-20"] 24-Jan-2024 21:16:56.060 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:56.060 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:56.062 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-20-37819"] 24-Jan-2024 21:16:56.069 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:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:632) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:608) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:56.071 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-20-37819"] 24-Jan-2024 21:16:56.071 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:56.072 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-20-37819"] 24-Jan-2024 21:16:56.073 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-20-37819"] 24-Jan-2024 21:16:56.075 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]]] 24-Jan-2024 21:16:56.076 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-21"] 24-Jan-2024 21:16:56.077 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:56.078 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:56.080 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-21-35177"] 24-Jan-2024 21:16:56.083 SEVERE [http-nio2-127.0.0.1-auto-21-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:235) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:56.084 SEVERE [http-nio2-127.0.0.1-auto-21-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:302) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:197) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:56.084 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-21-35177"] 24-Jan-2024 21:16:56.085 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:16:56.086 INFO [http-nio2-127.0.0.1-auto-21-exec-2] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1416) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1085) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1060) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:58.091 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-21-35177"] 24-Jan-2024 21:16:58.092 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-21-35177"] 24-Jan-2024 21:16:58.095 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]]] 24-Jan-2024 21:16:58.097 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-22"] 24-Jan-2024 21:16:58.103 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:16:58.103 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:16:58.106 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-22-43709"] 24-Jan-2024 21:16:58.108 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:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:58.109 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-22-43709"] 24-Jan-2024 21:16:58.111 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:302) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:197) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:58.111 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:1416) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1085) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1060) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:16:58.112 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:17:00.118 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-22-43709"] 24-Jan-2024 21:17:00.118 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-22-43709"] 24-Jan-2024 21:17:00.130 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]]] 24-Jan-2024 21:17:00.131 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-23"] 24-Jan-2024 21:17:00.142 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:17:00.142 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:17:00.151 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-23-37637"] 24-Jan-2024 21:17:00.160 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:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:00.161 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:302) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:197) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:00.162 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:1416) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1085) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1060) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:00.162 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-23-37637"] 24-Jan-2024 21:17:00.163 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-38" jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:296) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:02.168 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-23-37637"] 24-Jan-2024 21:17:02.169 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-23-37637"] 24-Jan-2024 21:17:02.171 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]]] 24-Jan-2024 21:17:02.172 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-24"] 24-Jan-2024 21:17:02.198 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:17:02.198 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:17:02.201 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-24-45601"] 24-Jan-2024 21:17:02.216 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:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:02.217 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:302) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:197) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:02.217 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:1416) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1085) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1060) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:02.217 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-24-45601"] 24-Jan-2024 21:17:02.219 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:17:02.716 SEVERE [http-nio2-127.0.0.1-auto-24-exec-3] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:296) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:531) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:04.224 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-24-45601"] 24-Jan-2024 21:17:04.225 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-24-45601"] 24-Jan-2024 21:17:04.227 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]]] 24-Jan-2024 21:17:04.227 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-25"] 24-Jan-2024 21:17:04.229 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:17:04.229 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:17:04.232 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-25-35919"] 24-Jan-2024 21:17:04.735 SEVERE [http-nio2-127.0.0.1-auto-25-exec-2] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:296) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:531) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:07.235 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-25-35919"] 24-Jan-2024 21:17:07.236 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:17:07.246 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-25-35919"] 24-Jan-2024 21:17:07.246 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-25-35919"] 24-Jan-2024 21:17:07.250 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]]] 24-Jan-2024 21:17:07.252 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-26"] 24-Jan-2024 21:17:07.266 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:17:07.266 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:17:07.277 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-26-43687"] 24-Jan-2024 21:17:07.282 SEVERE [http-nio2-127.0.0.1-auto-26-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:228) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:07.283 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-26-43687"] 24-Jan-2024 21:17:07.284 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:17:07.285 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-26-43687"] 24-Jan-2024 21:17:07.286 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-26-43687"] 24-Jan-2024 21:17:07.287 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]]] 24-Jan-2024 21:17:07.289 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-27"] 24-Jan-2024 21:17:07.334 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:17:07.335 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:17:07.337 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-27-43235"] 24-Jan-2024 21:17:07.347 SEVERE [http-nio2-127.0.0.1-auto-27-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:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:07.348 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-27-43235"] 24-Jan-2024 21:17:07.351 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:17:07.352 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-27-43235"] 24-Jan-2024 21:17:07.353 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-27-43235"] 24-Jan-2024 21:17:07.356 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]]] 24-Jan-2024 21:17:07.358 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-28"] 24-Jan-2024 21:17:07.374 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:17:07.374 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:17:07.382 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-28-40679"] 24-Jan-2024 21:17:07.383 SEVERE [http-nio2-127.0.0.1-auto-28-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [target] in context with path [] threw exception jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doError(TestHttpServletResponseSendError.java:255) at jakarta.servlet.http.TestHttpServletResponseSendError$TesterAsyncServlet.doGet(TestHttpServletResponseSendError.java:235) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:07.384 SEVERE [http-nio2-127.0.0.1-auto-28-exec-3] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid for a request with Async state [MUST_ERROR] at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:302) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:197) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:07.384 INFO [http-nio2-127.0.0.1-auto-28-exec-3] org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly. org.apache.catalina.connector.CoyoteAdapter$RecycleRequiredException at org.apache.catalina.connector.CoyoteAdapter.checkRecycled(CoyoteAdapter.java:518) at org.apache.coyote.http11.Http11Processor.recycle(Http11Processor.java:1416) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1085) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1060) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:07.385 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-28-40679"] 24-Jan-2024 21:17:07.386 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:17:09.391 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-28-40679"] 24-Jan-2024 21:17:09.391 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-28-40679"] 24-Jan-2024 21:17:09.393 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]]] 24-Jan-2024 21:17:09.394 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-29"] 24-Jan-2024 21:17:09.395 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:17:09.395 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:17:09.397 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-29-37207"] 24-Jan-2024 21:17:09.398 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:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:09.399 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:302) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:197) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:09.399 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:1416) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1085) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1060) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:09.399 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-29-37207"] 24-Jan-2024 21:17:09.400 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:17:11.405 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-29-37207"] 24-Jan-2024 21:17:11.405 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-29-37207"] 24-Jan-2024 21:17:11.407 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]]] 24-Jan-2024 21:17:11.408 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-30"] 24-Jan-2024 21:17:11.410 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:17:11.410 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:17:11.412 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-30-35701"] 24-Jan-2024 21:17:11.413 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:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:11.414 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:302) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:197) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:11.415 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-30-35701"] 24-Jan-2024 21:17:11.415 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:1416) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1085) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1060) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:11.415 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] Exception in thread "Thread-46" jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:296) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:13.420 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-30-35701"] 24-Jan-2024 21:17:13.420 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-30-35701"] 24-Jan-2024 21:17:13.423 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]]] 24-Jan-2024 21:17:13.424 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-31"] 24-Jan-2024 21:17:13.425 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:17:13.425 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:17:13.428 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-31-43475"] 24-Jan-2024 21:17:13.430 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:564) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) 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:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:13.431 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:302) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:197) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:83) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:13.431 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:1416) at org.apache.coyote.AbstractProtocol$ConnectionHandler.release(AbstractProtocol.java:1085) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1060) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1683) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1243) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:328) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:468) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:404) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:13.432 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-31-43475"] 24-Jan-2024 21:17:13.432 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:17:13.930 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:296) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:531) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:15.437 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-31-43475"] 24-Jan-2024 21:17:15.438 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-31-43475"] 24-Jan-2024 21:17:15.439 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]]] 24-Jan-2024 21:17:15.440 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-32"] 24-Jan-2024 21:17:15.441 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:17:15.442 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:17:15.444 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-32-44209"] 24-Jan-2024 21:17:15.946 SEVERE [http-nio2-127.0.0.1-auto-32-exec-3] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() jakarta.servlet.http.TestHttpServletResponseSendError$SendErrorException at jakarta.servlet.http.TestHttpServletResponseSendError$AsyncRunnable.run(TestHttpServletResponseSendError.java:296) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:531) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) 24-Jan-2024 21:17:18.447 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-32-44209"] 24-Jan-2024 21:17:18.447 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:17:18.449 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-32-44209"] 24-Jan-2024 21:17:18.449 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-32-44209"] ------------- ---------------- --------------- Testcase: testSendError[0: async[false], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 1.863 sec Testcase: testSendError[1: async[false], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 0.194 sec Testcase: testSendError[2: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 2.16 sec Testcase: testSendError[3: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 2.202 sec Testcase: testSendError[4: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.145 sec Testcase: testSendError[5: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.098 sec Testcase: testSendError[6: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.077 sec Testcase: testSendError[7: async[true], throw[false], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.105 sec Testcase: testSendError[8: async[true], throw[false], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[false]] took 0.598 sec Testcase: testSendError[9: async[true], throw[false], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 0.653 sec Testcase: testSendError[10: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 2.134 sec Testcase: testSendError[11: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 2.072 sec Testcase: testSendError[12: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.076 sec Testcase: testSendError[13: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.021 sec Testcase: testSendError[14: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.023 sec Testcase: testSendError[15: async[true], throw[false], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.06 sec Testcase: testSendError[16: async[true], throw[false], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[false]] took 0.517 sec Testcase: testSendError[17: async[true], throw[false], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 0.514 sec Testcase: testSendError[18: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 0.016 sec Testcase: testSendError[19: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 0.019 sec Testcase: testSendError[20: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.02 sec Testcase: testSendError[21: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.034 sec Testcase: testSendError[22: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.041 sec Testcase: testSendError[23: async[true], throw[true], dispatch[false], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.056 sec Testcase: testSendError[24: async[true], throw[true], dispatch[false], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 3.024 sec Testcase: testSendError[25: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[false]] took 0.037 sec Testcase: testSendError[26: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_BEFORE_START_ASYNC], useStart[true]] took 0.068 sec Testcase: testSendError[27: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[false]] took 2.036 sec Testcase: testSendError[28: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_ASYNC], useStart[true]] took 2.014 sec Testcase: testSendError[29: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[false]] took 2.015 sec Testcase: testSendError[30: async[true], throw[true], dispatch[true], errorPoint[THREAD_A_AFTER_START_RUNNABLE], useStart[true]] took 2.017 sec Testcase: testSendError[31: async[true], throw[true], dispatch[true], errorPoint[THREAD_B_BEFORE_COMPLETE], useStart[true]] took 3.012 sec