Testsuite: org.apache.coyote.http2.TestAsyncError Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.041 sec ------------- Standard Error ----------------- 27-Jun-2024 17:25:40.750 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testError[0: loop [0], useAsyncIO[false]]] 27-Jun-2024 17:25:41.222 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio-127.0.0.1-auto-1"] connector has been configured to support HTTP upgrade to [h2c] 27-Jun-2024 17:25:41.223 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 27-Jun-2024 17:25:41.250 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 17:25:41.250 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 17:25:41.391 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-44585"] 27-Jun-2024 17:25:44.609 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-44585"] 27-Jun-2024 17:25:44.610 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 17:25:44.627 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-44585"] 27-Jun-2024 17:25:44.633 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-44585"] 27-Jun-2024 17:25:44.640 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testError[1: loop [0], useAsyncIO[true]]] 27-Jun-2024 17:25:44.641 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio-127.0.0.1-auto-2"] connector has been configured to support HTTP upgrade to [h2c] 27-Jun-2024 17:25:44.642 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 27-Jun-2024 17:25:44.642 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 17:25:44.643 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 17:25:44.654 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-35439"] 27-Jun-2024 17:25:46.690 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-35439"] 27-Jun-2024 17:25:46.691 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 17:25:47.691 SEVERE [http-nio-127.0.0.1-auto-2-exec-3] org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run Error during processing of asynchronous Runnable via AsyncContext.start() java.lang.NullPointerException: Cannot invoke "org.apache.catalina.connector.OutputBuffer.setErrorException(java.lang.Exception)" because "this.ob" is null at org.apache.catalina.connector.CoyoteWriter.setErrorException(CoyoteWriter.java:318) at org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95) at org.apache.coyote.http2.TestAsyncError$MessageGenerator.run(TestAsyncError.java:127) at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:562) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 27-Jun-2024 17:25:47.696 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-35439"] 27-Jun-2024 17:25:47.708 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-35439"] ------------- ---------------- --------------- Testcase: testError[0: loop [0], useAsyncIO[false]] took 3.924 sec Testcase: testError[1: loop [0], useAsyncIO[true]] took 3.07 sec