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 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 698#233581791

    GitHub | 7 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

    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