java.lang.NullPointerException: Attempt to read from field 'org.mobicents.restcomm.android.client.sdk.SignalingClient.JainSipClient.JainSipCall org.mobicents.restcomm.android.client.sdk.SignalingClient.JainSipClient.JainSipJob.jainSipCall' on a null object reference

GitHub | atsakiridis | 6 months ago
  1. 0

    If call is made towards invalid URI when user disconnects we get a crash

    GitHub | 6 months ago | atsakiridis
    java.lang.NullPointerException: Attempt to read from field 'org.mobicents.restcomm.android.client.sdk.SignalingClient.JainSipClient.JainSipCall org.mobicents.restcomm.android.client.sdk.SignalingClient.JainSipClient.JainSipJob.jainSipCall' on a null object reference
  2. 0
    Upgrade BetterPickers to 2.0.0 or later.
    via GitHub by bbbenja
  3. 0
    You can't use hide() or remove() or many things with NULL values, try checking for NULL before calling this methods.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Also, check if you're not using android.support.v4.app.FragmentTransaction with android.app.Fragment and vice-versa
  6. 0
    Initialize the variable before calling a method on it.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to read from field 'org.mobicents.restcomm.android.client.sdk.SignalingClient.JainSipClient.JainSipCall org.mobicents.restcomm.android.client.sdk.SignalingClient.JainSipClient.JainSipJob.jainSipCall' on a null object reference

      at org.mobicents.restcomm.android.client.sdk.SignalingClient.JainSipClient.JainSipClient.disconnect()
    2. org.mobicents.restcomm
      SignalingHandler.handleMessage
      1. org.mobicents.restcomm.android.client.sdk.SignalingClient.JainSipClient.JainSipClient.disconnect(JainSipClient.java:336)
      2. org.mobicents.restcomm.android.client.sdk.SignalingClient.SignalingHandler.handleMessage(SignalingHandler.java:64)
      2 frames
    3. Android Platform
      HandlerThread.run
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:148)
      3. android.os.HandlerThread.run(HandlerThread.java:61)
      3 frames