Testsuite: org.apache.coyote.http2.TestAsyncError Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.989 sec ------------- Standard Error ----------------- 04-Jul-2024 14:13:53.156 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testError[0: loop [0], useAsyncIO[false]]] 04-Jul-2024 14:13:53.722 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 14:13:53.722 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 04-Jul-2024 14:13:53.749 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Jul-2024 14:13:53.750 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 04-Jul-2024 14:13:53.840 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34685"] 04-Jul-2024 14:13:56.973 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34685"] 04-Jul-2024 14:13:56.975 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Jul-2024 14:13:56.992 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34685"] 04-Jul-2024 14:13:56.998 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34685"] 04-Jul-2024 14:13:57.005 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testError[1: loop [0], useAsyncIO[true]]] 04-Jul-2024 14:13:57.007 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 14:13:57.007 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 04-Jul-2024 14:13:57.008 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Jul-2024 14:13:57.008 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 04-Jul-2024 14:13:57.014 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-40169"] 04-Jul-2024 14:13:59.048 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-40169"] 04-Jul-2024 14:13:59.049 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Jul-2024 14:14:00.049 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 14:14:00.055 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-40169"] 04-Jul-2024 14:14:00.066 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-40169"] ------------- ---------------- --------------- Testcase: testError[0: loop [0], useAsyncIO[false]] took 3.882 sec Testcase: testError[1: loop [0], useAsyncIO[true]] took 3.064 sec