java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {jackpal.androidterm/jackpal.androidterm.Term}: java.lang.NullPointerException: Attempt to invoke virtual method 'int jackpal.androidterm.util.SessionList.size()' on a null object reference

GitHub | TheThrasher01 | 6 months ago
  1. 0

    GitHub comment 698#233581791

    GitHub | 6 months ago | TheThrasher01
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {jackpal.androidterm/jackpal.androidterm.Term}: java.lang.NullPointerException: Attempt to invoke virtual method 'int jackpal.androidterm.util.SessionList.size()' on a null object reference
  2. 0

    NPE in v1.0.44 Term.onActivityResult(Term.java:695)

    GitHub | 4 years ago | jackpal
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=0, data=null} to activity {jackpal.androidterm/jackpal.androidterm.Term}: java.lang.NullPointerException
  3. 0
    samebug tip
    Initialize the variable before calling a method on it.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    The resource was accessed after it was dismissed.
  6. 0
    samebug tip
    Use 'dialog' to access views from custom_layout layout.

    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 invoke virtual method 'int jackpal.androidterm.util.SessionList.size()' on a null object reference

      at jackpal.androidterm.Term.onActivityResult()
    2. jackpal.androidterm
      Term.onActivityResult
      1. jackpal.androidterm.Term.onActivityResult(Term.java:784)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.dispatchActivityResult(Activity.java:6441)
      2. android.app.ActivityThread.deliverResults(ActivityThread.java:4015)
      3. android.app.ActivityThread.handleSendResult(ActivityThread.java:4062)
      4. android.app.ActivityThread.access$1400(ActivityThread.java:177)
      5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1483)
      6. android.os.Handler.dispatchMessage(Handler.java:102)
      7. android.os.Looper.loop(Looper.java:135)
      8. android.app.ActivityThread.main(ActivityThread.java:5930)
      8 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
      2 frames