Testsuite: org.apache.coyote.http11.upgrade.TestUpgrade Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.997 sec ------------- Standard Error ----------------- 05-Nov-2024 18:20:06.461 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMessagesBlocking] 05-Nov-2024 18:20:06.942 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 05-Nov-2024 18:20:06.968 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:20:06.969 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:20:07.082 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-36521"] 05-Nov-2024 18:20:07.654 SEVERE [http-nio-127.0.0.1-auto-1-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: java.io.EOFException at org.apache.coyote.http11.upgrade.TestUpgrade$EchoBlocking.init(TestUpgrade.java:284) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:951) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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:840) Caused by: java.io.EOFException at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1270) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1244) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1149) at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.read(UpgradeServletInputStream.java:155) at java.base/java.io.InputStream.read(InputStream.java:218) at org.apache.coyote.http11.upgrade.TestUpgrade$EchoBlocking.init(TestUpgrade.java:279) ... 7 more 05-Nov-2024 18:20:07.655 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-36521"] 05-Nov-2024 18:20:07.656 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:20:07.670 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-36521"] 05-Nov-2024 18:20:07.679 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-36521"] 05-Nov-2024 18:20:07.683 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSimpleUpgradeBlocking] 05-Nov-2024 18:20:07.685 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 05-Nov-2024 18:20:07.685 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:20:07.685 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:20:07.690 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-37985"] 05-Nov-2024 18:20:07.697 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-37985"] 05-Nov-2024 18:20:07.697 SEVERE [http-nio-127.0.0.1-auto-2-exec-1] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalStateException: java.io.EOFException at org.apache.coyote.http11.upgrade.TestUpgrade$EchoBlocking.init(TestUpgrade.java:284) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:951) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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:840) Caused by: java.io.EOFException at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1270) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1244) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1149) at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.read(UpgradeServletInputStream.java:155) at java.base/java.io.InputStream.read(InputStream.java:218) at org.apache.coyote.http11.upgrade.TestUpgrade$EchoBlocking.init(TestUpgrade.java:279) ... 7 more 05-Nov-2024 18:20:07.700 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:20:07.702 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-37985"] 05-Nov-2024 18:20:07.704 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-37985"] 05-Nov-2024 18:20:07.707 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMessagesNonBlocking] 05-Nov-2024 18:20:07.709 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 05-Nov-2024 18:20:07.709 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:20:07.709 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:20:07.713 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-44991"] java.io.EOFException at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1293) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1244) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.isReadyForRead(NioEndpoint.java:1127) at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.isReady(UpgradeServletInputStream.java:81) at org.apache.coyote.http11.upgrade.TestUpgrade$EchoNonBlocking$EchoListener.onWritePossible(TestUpgrade.java:337) at org.apache.coyote.http11.upgrade.TestUpgrade$EchoNonBlocking$EchoListener.onDataAvailable(TestUpgrade.java:351) at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.onDataAvailable(UpgradeServletInputStream.java:223) at org.apache.coyote.http11.upgrade.UpgradeProcessorExternal.dispatch(UpgradeProcessorExternal.java:95) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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:840) 05-Nov-2024 18:20:08.233 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-44991"] 05-Nov-2024 18:20:08.233 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:20:08.235 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-44991"] 05-Nov-2024 18:20:08.237 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-44991"] 05-Nov-2024 18:20:08.239 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetWriteListenerTwice] 05-Nov-2024 18:20:08.240 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 05-Nov-2024 18:20:08.241 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:20:08.241 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:20:08.245 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-34899"] 05-Nov-2024 18:20:08.249 SEVERE [http-nio-127.0.0.1-auto-4-exec-1] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalArgumentException: It is illegal to call setWriteListener() more than once for the same upgraded connection at org.apache.coyote.http11.upgrade.UpgradeServletOutputStream.setWriteListener(UpgradeServletOutputStream.java:107) at org.apache.coyote.http11.upgrade.TestUpgrade$SetWriteListenerTwice.init(TestUpgrade.java:450) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:951) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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:840) 05-Nov-2024 18:20:08.250 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-34899"] 05-Nov-2024 18:20:08.250 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:20:08.253 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-34899"] 05-Nov-2024 18:20:08.255 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-34899"] 05-Nov-2024 18:20:08.257 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstCallToOnWritePossible] 05-Nov-2024 18:20:08.258 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 05-Nov-2024 18:20:08.259 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:20:08.259 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:20:08.263 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-37885"] 05-Nov-2024 18:20:08.270 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-37885"] 05-Nov-2024 18:20:08.271 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:20:08.272 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-37885"] 05-Nov-2024 18:20:08.274 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-37885"] 05-Nov-2024 18:20:08.275 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetNullReadListener] 05-Nov-2024 18:20:08.277 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 05-Nov-2024 18:20:08.277 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:20:08.277 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:20:08.281 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40101"] 05-Nov-2024 18:20:08.285 SEVERE [http-nio-127.0.0.1-auto-6-exec-1] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalArgumentException: It is illegal to pass null to setReadListener() at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.setReadListener(UpgradeServletInputStream.java:92) at org.apache.coyote.http11.upgrade.TestUpgrade$SetNullReadListener.init(TestUpgrade.java:380) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:951) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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:840) 05-Nov-2024 18:20:08.285 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40101"] 05-Nov-2024 18:20:08.286 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:20:08.287 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40101"] 05-Nov-2024 18:20:08.291 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40101"] 05-Nov-2024 18:20:08.292 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetNullWriteListener] 05-Nov-2024 18:20:08.294 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 05-Nov-2024 18:20:08.294 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:20:08.294 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:20:08.298 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-38811"] 05-Nov-2024 18:20:08.301 SEVERE [http-nio-127.0.0.1-auto-7-exec-1] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalArgumentException: It is illegal to pass null to setWriteListener() at org.apache.coyote.http11.upgrade.UpgradeServletOutputStream.setWriteListener(UpgradeServletOutputStream.java:104) at org.apache.coyote.http11.upgrade.TestUpgrade$SetNullWriteListener.init(TestUpgrade.java:400) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:951) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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:840) 05-Nov-2024 18:20:08.302 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-38811"] 05-Nov-2024 18:20:08.302 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:20:08.304 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-38811"] 05-Nov-2024 18:20:08.306 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-38811"] 05-Nov-2024 18:20:08.307 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSimpleUpgradeNonBlocking] 05-Nov-2024 18:20:08.308 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 05-Nov-2024 18:20:08.308 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:20:08.308 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:20:08.312 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-39547"] java.io.EOFException at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1293) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1244) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.isReadyForRead(NioEndpoint.java:1127) at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.onDataAvailable(UpgradeServletInputStream.java:213) at org.apache.coyote.http11.upgrade.UpgradeProcessorExternal.dispatch(UpgradeProcessorExternal.java:95) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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:840) 05-Nov-2024 18:20:08.317 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-39547"] 05-Nov-2024 18:20:08.317 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] java.io.EOFException at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1293) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1244) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.isReadyForRead(NioEndpoint.java:1127) at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.onDataAvailable(UpgradeServletInputStream.java:213) at org.apache.coyote.http11.upgrade.UpgradeProcessorExternal.dispatch(UpgradeProcessorExternal.java:95) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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:840) 05-Nov-2024 18:20:08.318 WARNING [http-nio-127.0.0.1-auto-8-Poller] org.apache.tomcat.util.net.NioEndpoint$Poller.events Invalid null socket channel while processing poller event 05-Nov-2024 18:20:08.319 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-39547"] 05-Nov-2024 18:20:08.322 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-39547"] 05-Nov-2024 18:20:08.323 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetReadListenerTwice] 05-Nov-2024 18:20:08.325 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 05-Nov-2024 18:20:08.326 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 18:20:08.326 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 18:20:08.330 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45493"] 05-Nov-2024 18:20:08.335 SEVERE [http-nio-127.0.0.1-auto-9-exec-1] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.lang.IllegalArgumentException: It is illegal to call setReadListener() more than once for the same upgraded connection at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.setReadListener(UpgradeServletInputStream.java:95) at org.apache.coyote.http11.upgrade.TestUpgrade$SetReadListenerTwice.init(TestUpgrade.java:425) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:951) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) 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:840) 05-Nov-2024 18:20:08.335 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45493"] 05-Nov-2024 18:20:08.338 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 18:20:08.340 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45493"] 05-Nov-2024 18:20:08.342 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45493"] ------------- ---------------- --------------- Testcase: testMessagesBlocking took 1.292 sec Testcase: testSimpleUpgradeBlocking took 0.023 sec Testcase: testMessagesNonBlocking took 0.532 sec Testcase: testSetWriteListenerTwice took 0.017 sec Testcase: testFirstCallToOnWritePossible took 0.019 sec Testcase: testSetNullReadListener took 0.017 sec Testcase: testSetNullWriteListener took 0.014 sec Testcase: testSimpleUpgradeNonBlocking took 0.016 sec Testcase: testSetReadListenerTwice took 0.021 sec