Testsuite: org.apache.tomcat.websocket.TestWsSessionSuspendResume Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.859 sec ------------- Standard Error ----------------- 13-Feb-2024 20:11:03.426 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSuspendThenClose] 13-Feb-2024 20:11:04.305 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 13-Feb-2024 20:11:04.363 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 20:11:04.363 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 20:11:04.633 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-42269"] 13-Feb-2024 20:11:04.885 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-42269"] 13-Feb-2024 20:11:04.892 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 20:11:04.926 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-42269"] 13-Feb-2024 20:11:07.949 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-42269"] 13-Feb-2024 20:11:07.958 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSuspendResume] 13-Feb-2024 20:11:07.960 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 13-Feb-2024 20:11:07.961 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 20:11:07.961 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 20:11:07.967 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-40347"] 13-Feb-2024 20:11:08.035 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-40347"] 13-Feb-2024 20:11:08.037 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 20:11:08.042 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-40347"] 13-Feb-2024 20:11:08.045 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-40347"] ------------- ---------------- --------------- Testcase: testSuspendThenClose took 4.727 sec Caused an ERROR null java.lang.NullPointerException at org.apache.tomcat.websocket.TestWsSessionSuspendResume$SuspendCloseEndpoint.isServerSessionFullyClosed(TestWsSessionSuspendResume.java:243) at org.apache.tomcat.websocket.TestWsSessionSuspendResume.testSuspendThenClose(TestWsSessionSuspendResume.java:184) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) Testcase: testSuspendResume took 0.09 sec