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 🙂
solved clientEndPoint = new WebsocketClientEndpoint(ur ); causing null pointer exception