https://bz.apache.org/bugzilla/show_bug.cgi?id=65342
Bug ID: 65342
Summary: IllegalArgumentException "endpointClass cannot be
null" after upgrade to 9.0.46
Product: Tomcat 9
Version: 9.0.46
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
On upgrade from 9.0.45 to 9.0.46, we see failures in WebSocket integration
tests with the following stacktrace:
java.lang.IllegalArgumentException: endpointClass cannot be null
at
javax.websocket.server.ServerEndpointConfig$Builder.<init>(ServerEndpointConfig.java:314)
at
javax.websocket.server.ServerEndpointConfig$Builder.create(ServerEndpointConfig.java:287)
at org.apache.tomcat.websocket.WsSession.<clinit>(WsSession.java:77)
at
org.apache.tomcat.websocket.WsWebSocketContainer.connectToServerRecursive(WsWebSocketContainer.java:498)
at
org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:185)
at
org.springframework.web.reactive.socket.client.StandardWebSocketClient.lambda$executeInternal$0(StandardWebSocketClient.java:111)
I'm hoping the stacktrace provides enough of a clue. It looks like on line 77
WsSession invokes ServerEndpointConfig.Builder#create with null values which is
then rejected by the create method. If not, I'll try and extract an isolated
sample.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]