Testsuite: org.apache.coyote.http2.TestAsyncError Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.999 sec ------------- Standard Error ----------------- 04-Jul-2024 12:15:44.885 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testError[0: loop [0], useAsyncIO[false]]] 04-Jul-2024 12:15:45.454 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] 04-Jul-2024 12:15:45.454 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 04-Jul-2024 12:15:45.481 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Jul-2024 12:15:45.481 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 04-Jul-2024 12:15:45.571 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-43863"] 04-Jul-2024 12:15:48.717 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-43863"] 04-Jul-2024 12:15:48.721 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Jul-2024 12:15:48.742 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-43863"] 04-Jul-2024 12:15:48.752 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-43863"] 04-Jul-2024 12:15:48.757 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testError[1: loop [0], useAsyncIO[true]]] 04-Jul-2024 12:15:48.759 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] 04-Jul-2024 12:15:48.760 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 04-Jul-2024 12:15:48.760 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Jul-2024 12:15:48.761 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 04-Jul-2024 12:15:48.765 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-37647"] 04-Jul-2024 12:15:50.790 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-37647"] 04-Jul-2024 12:15:50.791 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Jul-2024 12:15:51.793 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) 04-Jul-2024 12:15:51.796 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-37647"] 04-Jul-2024 12:15:51.802 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-37647"] ------------- ---------------- --------------- Testcase: testError[0: loop [0], useAsyncIO[false]] took 3.91 sec Testcase: testError[1: loop [0], useAsyncIO[true]] took 3.046 sec