java.lang.RuntimeException

Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {my.package.myapplication/my.package.myapplication.Person1Screen}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.util.ArrayList.add(int, java.lang.Object)' on a null object reference

Solutions on the web49132

  • via Stack Overflow by ImagineThat
    , 11 months ago
    Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {my.package.myapplication/my.package.myapplication.Person1Screen}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.util.ArrayList.add(int, java.lang.Object)' on a null object reference
  • via Coderanch by L Vasquez, 6 months ago
    Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {my.package.myapplication/my.package.myapplication.Person1Screen}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.util.ArrayList.add(int, java.lang.Object)' on a null object reference
  • via google.com by Unknown author, 1 year ago
    Failure delivering result ResultInfo{who=null, request=1, result=0, data=null} to activity {com.bachtrieuphat.hayhaytv/com.bachtrieuphat.hayhaytv.movies.FilmDetailActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.bachtrieuphat.hayhaytv.simple_facebook.SimpleFacebook.onActivityResult(int, int, android.content.Intent)' on a null object reference
  • Stack trace

    • java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {my.package.myapplication/my.package.myapplication.Person1Screen}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.util.ArrayList.add(int, java.lang.Object)' on a null object reference at android.app.ActivityThread.deliverResults(ActivityThread.java:3759) at android.app.ActivityThread.handleSendResult(ActivityThread.java:3802) at android.app.ActivityThread.access$1400(ActivityThread.java:157) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1400) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5477) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.util.ArrayList.add(int, java.lang.Object)' on a null object reference at my.package.myapplication.Person1Screen.onActivityResult(Person1Screen.java:210) at android.app.Activity.dispatchActivityResult(Activity.java:6650) at android.app.ActivityThread.deliverResults(ActivityThread.java:3755)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.