Testsuite: org.apache.coyote.http11.upgrade.TestUpgrade Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.082 sec ------------- Standard Error ----------------- 25-Oct-2024 21:54:47.136 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMessagesBlocking] 25-Oct-2024 21:54:47.675 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 25-Oct-2024 21:54:47.694 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:54:47.694 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:54:47.763 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-42769"] 25-Oct-2024 21:54:48.324 SEVERE [http-nio-127.0.0.1-auto-1-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:1746) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) Caused by: java.io.EOFException at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1275) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1249) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1154) at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.read(UpgradeServletInputStream.java:155) at java.base/java.io.InputStream.read(InputStream.java:220) at org.apache.coyote.http11.upgrade.TestUpgrade$EchoBlocking.init(TestUpgrade.java:279) ... 7 more 25-Oct-2024 21:54:48.325 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-42769"] 25-Oct-2024 21:54:48.326 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:54:48.338 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-42769"] 25-Oct-2024 21:54:48.349 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-42769"] 25-Oct-2024 21:54:48.353 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSimpleUpgradeBlocking] 25-Oct-2024 21:54:48.355 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 25-Oct-2024 21:54:48.355 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:54:48.355 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:54:48.359 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38469"] 25-Oct-2024 21:54:48.366 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38469"] 25-Oct-2024 21:54:48.366 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:1746) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) Caused by: java.io.EOFException at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1275) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1249) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1154) at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.read(UpgradeServletInputStream.java:155) at java.base/java.io.InputStream.read(InputStream.java:220) at org.apache.coyote.http11.upgrade.TestUpgrade$EchoBlocking.init(TestUpgrade.java:279) ... 7 more 25-Oct-2024 21:54:48.366 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:54:48.368 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38469"] 25-Oct-2024 21:54:48.371 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38469"] 25-Oct-2024 21:54:48.373 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMessagesNonBlocking] 25-Oct-2024 21:54:48.375 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 25-Oct-2024 21:54:48.376 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:54:48.376 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:54:48.381 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-41851"] java.io.EOFException at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1298) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1249) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.isReadyForRead(NioEndpoint.java:1132) 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:1746) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 25-Oct-2024 21:54:48.892 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-41851"] 25-Oct-2024 21:54:48.893 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:54:48.895 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-41851"] 25-Oct-2024 21:54:48.897 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-41851"] 25-Oct-2024 21:54:48.899 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetWriteListenerTwice] 25-Oct-2024 21:54:48.901 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 25-Oct-2024 21:54:48.901 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:54:48.901 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:54:48.904 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39691"] 25-Oct-2024 21:54:48.914 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:1746) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 25-Oct-2024 21:54:48.915 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39691"] 25-Oct-2024 21:54:48.915 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:54:48.917 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39691"] 25-Oct-2024 21:54:48.920 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39691"] 25-Oct-2024 21:54:48.923 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstCallToOnWritePossible] 25-Oct-2024 21:54:48.925 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 25-Oct-2024 21:54:48.926 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:54:48.927 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:54:48.931 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-37783"] 25-Oct-2024 21:54:48.944 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-37783"] 25-Oct-2024 21:54:48.945 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:54:48.947 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-37783"] 25-Oct-2024 21:54:48.950 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-37783"] 25-Oct-2024 21:54:48.951 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetNullReadListener] 25-Oct-2024 21:54:48.952 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 25-Oct-2024 21:54:48.953 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:54:48.953 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:54:48.956 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40817"] 25-Oct-2024 21:54:48.961 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:1746) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 25-Oct-2024 21:54:48.967 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40817"] 25-Oct-2024 21:54:48.970 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:54:48.972 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40817"] 25-Oct-2024 21:54:48.974 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40817"] 25-Oct-2024 21:54:48.976 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetNullWriteListener] 25-Oct-2024 21:54:48.977 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 25-Oct-2024 21:54:48.977 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:54:48.978 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:54:48.980 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-37987"] 25-Oct-2024 21:54:48.989 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:1746) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 25-Oct-2024 21:54:48.990 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-37987"] 25-Oct-2024 21:54:48.992 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:54:48.994 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-37987"] 25-Oct-2024 21:54:48.999 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-37987"] 25-Oct-2024 21:54:49.001 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSimpleUpgradeNonBlocking] 25-Oct-2024 21:54:49.003 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 25-Oct-2024 21:54:49.005 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:54:49.005 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:54:49.009 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-43823"] java.io.EOFException at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1298) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1249) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.isReadyForRead(NioEndpoint.java:1132) 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:1746) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 25-Oct-2024 21:54:49.015 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-43823"] java.io.EOFException at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1298) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1249) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.isReadyForRead(NioEndpoint.java:1132) 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:1746) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 25-Oct-2024 21:54:49.016 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 25-Oct-2024 21:54:49.016 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 25-Oct-2024 21:54:49.018 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:54:49.019 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-43823"] 25-Oct-2024 21:54:49.021 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-43823"] 25-Oct-2024 21:54:49.022 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetReadListenerTwice] 25-Oct-2024 21:54:49.024 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 25-Oct-2024 21:54:49.025 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:54:49.025 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:54:49.028 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-37111"] 25-Oct-2024 21:54:49.034 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:1746) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 25-Oct-2024 21:54:49.035 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-37111"] 25-Oct-2024 21:54:49.038 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:54:49.039 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-37111"] 25-Oct-2024 21:54:49.041 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-37111"] ------------- ---------------- --------------- Testcase: testMessagesBlocking took 1.329 sec Testcase: testSimpleUpgradeBlocking took 0.02 sec Testcase: testMessagesNonBlocking took 0.525 sec Testcase: testSetWriteListenerTwice took 0.023 sec Testcase: testFirstCallToOnWritePossible took 0.028 sec Testcase: testSetNullReadListener took 0.024 sec Testcase: testSetNullWriteListener took 0.025 sec Testcase: testSimpleUpgradeNonBlocking took 0.022 sec Testcase: testSetReadListenerTwice took 0.021 sec