java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by hifall
, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at com.studio.mymodule.managers.socket.SocketManager.connectToSocket(SocketManager.java:73)
at com.studio.mymodule.managers.socket.SocketManager.tryToReconnect(SocketManager.java:361)
at com.studio.mymodule.ChatActivity$32.onSocketFailed(ChatActivity.java:1378)
at com.studio.mymodule.managers.socket.SocketManager.socketFailedDialog(SocketManager.java:318)
at com.studio.mymodule.managers.socket.SocketManager$2.call(SocketManager.java:118)
at io.socket.emitter.Emitter.emit(Emitter.java:117)
at io.socket.client.Socket.access$601(Socket.java:19)
at io.socket.client.Socket$5.run(Socket.java:177)
at io.socket.thread.EventThread.exec(EventThread.java:50)
at io.socket.client.Socket.emit(Socket.java:173)
at io.socket.client.Manager.emitAll(Manager.java:156)
at io.socket.client.Manager.access$600(Manager.java:20)
at io.socket.client.Manager$1$3.call(Manager.java:286)
at io.socket.emitter.Emitter.emit(Emitter.java:117)
at io.socket.engineio.client.Socket.onError(Socket.java:765)
at io.socket.engineio.client.Socket.access$800(Socket.java:30)
at io.socket.engineio.client.Socket$4.call(Socket.java:304)
at io.socket.emitter.Emitter.emit(Emitter.java:117)
at io.socket.engineio.client.Transport.onError(Transport.java:65)
at io.socket.engineio.client.transports.PollingXHR.access$100(PollingXHR.java:18)
at io.socket.engineio.client.transports.PollingXHR$6$1.run(PollingXHR.java:126)
at io.socket.thread.EventThread$2.run(EventThread.java:75)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.