You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Manfred Bergmann <mb...@software-by-mabe.com> on 2018/09/29 14:58:03 UTC
WebSocket tests fail after migration to Wicket 8
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
Re: WebSocket tests fail after migration to Wicket 8
Posted by Manfred Bergmann <mb...@software-by-mabe.com>.
Yes, I can confirm 8.2.0-SNAPSHOT works.
Thank you,
Manfred
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: WebSocket tests fail after migration to Wicket 8
Posted by Andrea Del Bene <an...@gmail.com>.
Hi,
you probably found an issue with we recently fixed :
https://issues.apache.org/jira/browse/WICKET-6588
Could you test your code using 8.2.0-SNAPSHOT version?
Thank you.
On 29/09/2018 16:58, Manfred Bergmann wrote:
>
> 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org