Testsuite: org.apache.tomcat.websocket.TestWsRemoteEndpoint Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.752 sec ------------- Standard Error ----------------- 23-Oct-2024 13:35:06.899 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterZeroLengthAnnotation] 23-Oct-2024 13:35:07.795 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 23-Oct-2024 13:35:07.931 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Oct-2024 13:35:07.939 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 23-Oct-2024 13:35:08.173 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43965"] 23-Oct-2024 13:35:08.411 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43965"] 23-Oct-2024 13:35:08.415 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Oct-2024 13:35:08.472 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43965"] 23-Oct-2024 13:35:08.474 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43965"] 23-Oct-2024 13:35:08.485 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterAnnotation] 23-Oct-2024 13:35:08.500 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 23-Oct-2024 13:35:08.587 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Oct-2024 13:35:08.587 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 23-Oct-2024 13:35:08.600 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33633"] 23-Oct-2024 13:35:08.679 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33633"] 23-Oct-2024 13:35:08.682 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Oct-2024 13:35:08.687 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33633"] 23-Oct-2024 13:35:08.688 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33633"] 23-Oct-2024 13:35:08.693 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterProgrammatic] 23-Oct-2024 13:35:08.702 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 23-Oct-2024 13:35:08.732 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Oct-2024 13:35:08.732 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 23-Oct-2024 13:35:08.749 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34145"] 23-Oct-2024 13:35:08.820 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34145"] 23-Oct-2024 13:35:08.820 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Oct-2024 13:35:08.828 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34145"] 23-Oct-2024 13:35:08.828 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34145"] 23-Oct-2024 13:35:08.831 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStreamProgrammatic] 23-Oct-2024 13:35:08.833 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 23-Oct-2024 13:35:08.874 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Oct-2024 13:35:08.874 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 23-Oct-2024 13:35:08.889 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35001"] 23-Oct-2024 13:35:08.926 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35001"] 23-Oct-2024 13:35:08.927 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Oct-2024 13:35:08.933 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35001"] 23-Oct-2024 13:35:08.935 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35001"] 23-Oct-2024 13:35:08.940 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterErrorProgrammatic] 23-Oct-2024 13:35:08.952 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 23-Oct-2024 13:35:08.971 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Oct-2024 13:35:08.971 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 23-Oct-2024 13:35:08.984 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33253"] 23-Oct-2024 13:35:09.003 SEVERE [http-nio2-127.0.0.1-auto-5-exec-2] org.apache.tomcat.websocket.pojo.PojoEndpointBase.onError No error handling configured for [org.apache.tomcat.websocket.TesterEchoServer$WriterError] and the following error occurred java.lang.RuntimeException at org.apache.tomcat.websocket.TesterEchoServer$WriterError.echoTextMessage(TesterEchoServer.java:200) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBase.onMessage(PojoMessageHandlerWholeBase.java:102) at org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:390) at org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(WsFrameServer.java:130) at org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:484) at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:284) at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:130) at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:85) at org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:184) at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:164) at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:152) at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60) 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.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1266) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:330) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:470) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:406) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) 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) 23-Oct-2024 13:35:09.009 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33253"] 23-Oct-2024 13:35:09.009 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Oct-2024 13:35:09.012 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33253"] 23-Oct-2024 13:35:09.013 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33253"] 23-Oct-2024 13:35:09.016 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterZeroLengthProgrammatic] 23-Oct-2024 13:35:09.018 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 23-Oct-2024 13:35:09.075 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Oct-2024 13:35:09.075 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 23-Oct-2024 13:35:09.087 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44233"] 23-Oct-2024 13:35:09.119 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44233"] 23-Oct-2024 13:35:09.122 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Oct-2024 13:35:09.128 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44233"] 23-Oct-2024 13:35:09.132 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44233"] 23-Oct-2024 13:35:09.137 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStreamAnnotation] 23-Oct-2024 13:35:09.138 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 23-Oct-2024 13:35:09.187 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Oct-2024 13:35:09.187 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 23-Oct-2024 13:35:09.199 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38525"] 23-Oct-2024 13:35:09.225 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38525"] 23-Oct-2024 13:35:09.227 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Oct-2024 13:35:09.235 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38525"] 23-Oct-2024 13:35:09.236 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38525"] 23-Oct-2024 13:35:09.240 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterErrorAnnotation] 23-Oct-2024 13:35:09.242 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 23-Oct-2024 13:35:09.311 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Oct-2024 13:35:09.311 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 23-Oct-2024 13:35:09.331 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33569"] 23-Oct-2024 13:35:09.346 SEVERE [http-nio2-127.0.0.1-auto-8-exec-2] org.apache.tomcat.websocket.pojo.PojoEndpointBase.onError No error handling configured for [org.apache.tomcat.websocket.TesterEchoServer$WriterError] and the following error occurred java.lang.RuntimeException at org.apache.tomcat.websocket.TesterEchoServer$WriterError.echoTextMessage(TesterEchoServer.java:200) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.tomcat.websocket.pojo.PojoMessageHandlerWholeBase.onMessage(PojoMessageHandlerWholeBase.java:102) at org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:390) at org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(WsFrameServer.java:130) at org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:484) at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:284) at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:130) at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:85) at org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:184) at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:164) at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:152) at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60) 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.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1685) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1266) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:330) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:470) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:406) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) 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) 23-Oct-2024 13:35:09.349 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33569"] 23-Oct-2024 13:35:09.350 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Oct-2024 13:35:09.352 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33569"] 23-Oct-2024 13:35:09.354 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33569"] ------------- ---------------- --------------- Testcase: testWriterZeroLengthAnnotation took 1.784 sec Testcase: testWriterAnnotation took 0.209 sec Testcase: testWriterProgrammatic took 0.137 sec Testcase: testStreamProgrammatic took 0.108 sec Testcase: testWriterErrorProgrammatic took 0.075 sec Testcase: testWriterZeroLengthProgrammatic took 0.12 sec Testcase: testStreamAnnotation took 0.102 sec Testcase: testWriterErrorAnnotation took 0.119 sec