Fixed NPE in getChargingStationClient()
MODIFY
src/server/ocpp/json/JsonCentralSystemServer.ts
src/server/ocpp/json/JsonCentralSystemServer.ts
@@ -141,6 +141,7 @@ export default class JsonCentralSystemServer extends CentralSystemServer {
module: MODULE_NAME, method: 'getChargingStationClient',
action: ServerAction.WS_SERVER_CONNECTION, message
});
+ return;
}
// Return the client
return jsonWebSocket.getChargingStationClient();

Fixed NPE in getChargingStationClient()