gameontext / gameon-mediator

The mediator between the device (phone, browser, ... ) and rooms, items, and other backend services.
Apache License 2.0
5 stars 7 forks source link

NPE in Mediator #99

Open ebullient opened 4 years ago

ebullient commented 4 years ago
mediator          | [ERROR   ] CWWKH0039E: When an outgoing WebSocket request was sent to the ws://samplemicroservice.eu-gb.mybluemix.net/room endpoint on the target server, a Status code: 500 response was returned instead of a 101 response.
mediator          | [ERROR   ] CWWKC1101E: The task org.gameontext.mediator.room.RemoteRoom$$Lambda$32/00000000B401EE60@1a46d019, which was submitted to executor service managedScheduledExecutorService[DefaultManagedScheduledExecutorService], failed with the following error: java.lang.NullPointerException
mediator          |     at org.gameontext.mediator.room.WebSocketClientConnection.keepAlive(WebSocketClientConnection.java:94)
mediator          |     at org.gameontext.mediator.room.RemoteRoom.lambda$new$0(RemoteRoom.java:55)
mediator          |     at org.gameontext.mediator.room.RemoteRoom$$Lambda$32/00000000B401EE60.run(Unknown Source)
mediator          |     at com.ibm.ws.concurrent.internal.ScheduledTask.call(ScheduledTask.java:418)
mediator          |     at [internal classes]
ebullient commented 4 years ago

This could consume the other two outstanding NPE (#87 and #48) .. though these are room side