java.lang.NullPointerException

GitHub | hifall | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.studio.mymodule.managers.socket.SocketManager.connectToSocket()
  2. com.studio.mymodule
    SocketManager$2.call
    1. com.studio.mymodule.managers.socket.SocketManager.connectToSocket(SocketManager.java:73)
    2. com.studio.mymodule.managers.socket.SocketManager.tryToReconnect(SocketManager.java:361)
    3. com.studio.mymodule.ChatActivity$32.onSocketFailed(ChatActivity.java:1378)
    4. com.studio.mymodule.managers.socket.SocketManager.socketFailedDialog(SocketManager.java:318)
    5. com.studio.mymodule.managers.socket.SocketManager$2.call(SocketManager.java:118)
    5 frames
  3. io.socket.emitter
    Emitter.emit
    1. io.socket.emitter.Emitter.emit(Emitter.java:117)
    1 frame
  4. io.socket.client
    Socket$5.run
    1. io.socket.client.Socket.access$601(Socket.java:19)
    2. io.socket.client.Socket$5.run(Socket.java:177)
    2 frames
  5. io.socket.thread
    EventThread.exec
    1. io.socket.thread.EventThread.exec(EventThread.java:50)
    1 frame
  6. io.socket.client
    Manager$1$3.call
    1. io.socket.client.Socket.emit(Socket.java:173)
    2. io.socket.client.Manager.emitAll(Manager.java:156)
    3. io.socket.client.Manager.access$600(Manager.java:20)
    4. io.socket.client.Manager$1$3.call(Manager.java:286)
    4 frames
  7. io.socket.emitter
    Emitter.emit
    1. io.socket.emitter.Emitter.emit(Emitter.java:117)
    1 frame
  8. io.socket.engineio
    Socket$4.call
    1. io.socket.engineio.client.Socket.onError(Socket.java:765)
    2. io.socket.engineio.client.Socket.access$800(Socket.java:30)
    3. io.socket.engineio.client.Socket$4.call(Socket.java:304)
    3 frames
  9. io.socket.emitter
    Emitter.emit
    1. io.socket.emitter.Emitter.emit(Emitter.java:117)
    1 frame
  10. io.socket.engineio
    PollingXHR$6$1.run
    1. io.socket.engineio.client.Transport.onError(Transport.java:65)
    2. io.socket.engineio.client.transports.PollingXHR.access$100(PollingXHR.java:18)
    3. io.socket.engineio.client.transports.PollingXHR$6$1.run(PollingXHR.java:126)
    3 frames
  11. io.socket.thread
    EventThread$2.run
    1. io.socket.thread.EventThread$2.run(EventThread.java:75)
    1 frame
  12. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:841)
    3 frames