Manfred Bergmann
2018-09-29 14:58:03 UTC
Hi.
Iâm using a WebSocket on a component of a page based on WebSocketBehavior.
Itâs working fine when running the app.
But the tests of the Panel fail, in contrast to Wicket 7 with:
Caused by: java.lang.NullPointerException
at org.apache.wicket.protocol.ws.api.BaseWebSocketBehavior.getSessionId(BaseWebSocketBehavior.java:176) ~[wicket-native-websocket-core-8.1.0.jar:8.1.0]
at org.apache.wicket.protocol.ws.api.BaseWebSocketBehavior.renderHead(BaseWebSocketBehavior.java:128) ~[wicket-native-websocket-core-8.1.0.jar:8.1.0]
Is there something that must change for testing WebSocket behavior in Wicket 8?
Regards,
Manfred
Iâm using a WebSocket on a component of a page based on WebSocketBehavior.
Itâs working fine when running the app.
But the tests of the Panel fail, in contrast to Wicket 7 with:
Caused by: java.lang.NullPointerException
at org.apache.wicket.protocol.ws.api.BaseWebSocketBehavior.getSessionId(BaseWebSocketBehavior.java:176) ~[wicket-native-websocket-core-8.1.0.jar:8.1.0]
at org.apache.wicket.protocol.ws.api.BaseWebSocketBehavior.renderHead(BaseWebSocketBehavior.java:128) ~[wicket-native-websocket-core-8.1.0.jar:8.1.0]
Is there something that must change for testing WebSocket behavior in Wicket 8?
Regards,
Manfred