You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jetty version
10.0 Java version
11.0 OS type/version
Xubuntu 20.04 Description
the WebSocketSession.getUserPrincipal reads for this.frameHandler.getUpgradeRequest()
but the JavaxWebSocketFrameHandler.upgradeRequest is null
the setter for upgradeRequest has no reference, and in my debugging, it wasn't called
the method JavaxWebSocketFrameHandlerFactory.newJavaxWebSocketFrameHandler
... creates the JavaxWebSocketFrameHandler instance, without setting the upgradeRequest to it, while it receives as a parameter
The actual issue we are facing is that after upgrade from 9.4 jetty to 10.0 jetty, there is a nullpointer exception in a series of Vaadin applications. The error was present with Vaadin 8, Vaadin 14, and Vaadin 18, latest minor versions.
The Vaadin exception occures on first pageload, or login attempts.
I didn't find resources yet on Vaadin jetty upgrades yet, this is quite new, probably few people tried it yet.
The text was updated successfully, but these errors were encountered:
Jetty version
10.0
Java version
11.0
OS type/version
Xubuntu 20.04
Description
the WebSocketSession.getUserPrincipal reads for this.frameHandler.getUpgradeRequest()
but the JavaxWebSocketFrameHandler.upgradeRequest is null
the setter for upgradeRequest has no reference, and in my debugging, it wasn't called
the method JavaxWebSocketFrameHandlerFactory.newJavaxWebSocketFrameHandler
https://github.com/eclipse/jetty.project/blob/jetty-10.0.x/jetty-websocket/websocket-javax-common/src/main/java/org/eclipse/jetty/websocket/javax/common/JavaxWebSocketFrameHandlerFactory.java#L116
... creates the JavaxWebSocketFrameHandler instance, without setting the upgradeRequest to it, while it receives as a parameter
The actual issue we are facing is that after upgrade from 9.4 jetty to 10.0 jetty, there is a nullpointer exception in a series of Vaadin applications. The error was present with Vaadin 8, Vaadin 14, and Vaadin 18, latest minor versions.
The Vaadin exception occures on first pageload, or login attempts.
I didn't find resources yet on Vaadin jetty upgrades yet, this is quite new, probably few people tried it yet.
The text was updated successfully, but these errors were encountered: