[Solved] clientEndPoint = new WebsocketClientEndpoint(ur ); causing null pointer exception

[ad_1]

jar file i was using for javax did not have getWebSocketContainer(); emplamented so it would return a null.
I used a new jar file called try-standalone-client-1.9.jar
problem fixed 🙂

[ad_2]

solved clientEndPoint = new WebsocketClientEndpoint(ur ); causing null pointer exception