]
Mario Fusco updated DROOLS-4564:
--------------------------------
Sprint: (was: 2020 Week 01-03 (from Dec 30))
Reconnecting the Kie-server to the controller while using the
WebSocket connection problem
------------------------------------------------------------------------------------------
Key: DROOLS-4564
URL:
https://issues.redhat.com/browse/DROOLS-4564
Project: Drools
Issue Type: Bug
Components: integration, kie server
Affects Versions: 7.24.0.Final
Reporter: Marcin Kasza
Assignee: Mario Fusco
Priority: Major
When the kie-server connects to the controller / workbench via web-sockets and this
connection fails (e.g., due to network problems), the kie-server will try to reconnect.
Reconnect thread started in WebSocketClientImpl (kie-server-controller-websocket-common),
fails with NPE with log message: _WebSocketClientImpl: Unable to reconnect to the
controller through the Null socket because of null_
NPE is thrown because session.getRequestURI returns NULL value
at this.session = container.connectToServer(this, this.config, session.getRequestURI());
In my case kie-server (WebSocketContainer) running on tomcat 8.5