Testsuite: org.apache.tomcat.websocket.pojo.TestPojoEndpointBase Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.023 sec ------------- Standard Error ----------------- 01-Nov-2024 11:14:21.251 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug54716] 01-Nov-2024 11:14:21.824 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 01-Nov-2024 11:14:21.867 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2024 11:14:21.867 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 01-Nov-2024 11:14:21.973 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37493"] 01-Nov-2024 11:14:22.062 SEVERE [http-nio2-127.0.0.1-auto-1-exec-3] org.apache.tomcat.websocket.pojo.PojoEndpointBase.onError No error handling configured for [org.apache.tomcat.websocket.pojo.TestPojoEndpointBase$Bug54716] and the following error occurred java.lang.RuntimeException at org.apache.tomcat.websocket.pojo.TestPojoEndpointBase$Bug54716.onOpen(TestPojoEndpointBase.java:128) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.apache.tomcat.websocket.pojo.PojoEndpointBase.doOnOpen(PojoEndpointBase.java:67) at org.apache.tomcat.websocket.pojo.PojoEndpointServer.onOpen(PojoEndpointServer.java:46) at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:131) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:947) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) 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) 01-Nov-2024 11:14:22.068 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37493"] 01-Nov-2024 11:14:22.070 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2024 11:14:22.085 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37493"] 01-Nov-2024 11:14:22.086 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37493"] 01-Nov-2024 11:14:22.093 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testOnOpenPojoMethod] 01-Nov-2024 11:14:22.095 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 01-Nov-2024 11:14:22.104 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2024 11:14:22.104 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 01-Nov-2024 11:14:22.111 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37245"] 01-Nov-2024 11:14:27.120 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37245"] 01-Nov-2024 11:14:27.121 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2024 11:14:27.126 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37245"] 01-Nov-2024 11:14:27.127 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37245"] ------------- ---------------- --------------- Testcase: testBug54716 took 0.924 sec Testcase: testOnOpenPojoMethod took 5.039 sec