java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { act=inline-data (has extras) }} to activity {ir.aflak.niaz/ir.aflak.niaz.NewAdd2}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference

Stack Overflow | navid abutorab | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    android 5.1 - onActivityResult returning nullpointerexception by taking photo from camera

    Stack Overflow | 9 months ago | navid abutorab
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { act=inline-data (has extras) }} to activity {ir.aflak.niaz/ir.aflak.niaz.NewAdd2}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
  2. 0

    Why is DialogFragment.onCreateView called when Activity is being Destroyed?

    Stack Overflow | 4 years ago | WindsurferOak
    java.lang.RuntimeException: Unable to destroy activity {com.myapp/com.myapp.activity.FirstFragment}: java.lang.NullPointerException
  3. 0

    application crashed on orientation change

    Stack Overflow | 4 years ago | user1778855
    java.lang.RuntimeException: Unable to start activity ComponentInfo{..../....Music}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failure delivering ResultInfo

    GitHub | 3 years ago | grassick
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {co.mwater.clientapp/co.mwater.clientapp.mWater}: java.lang.NullPointerException

  1. ahmed 6 times, last 1 week ago
  2. justCodeit 59 times, last 3 weeks ago
  3. Donsy 4 times, last 2 months ago
  4. Adrien 2 times, last 2 months ago
  5. rp 1 times, last 3 months ago
77 more registered users
18 unregistered visitors
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.RuntimeException

    Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { act=inline-data (has extras) }} to activity {ir.aflak.niaz/ir.aflak.niaz.NewAdd2}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference

    at android.app.ActivityThread.deliverResults()
  2. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.deliverResults(ActivityThread.java:3539)
    2. android.app.ActivityThread.handleSendResult(ActivityThread.java:3582)
    3. android.app.ActivityThread.access$1300(ActivityThread.java:144)
    4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1327)
    5. android.os.Handler.dispatchMessage(Handler.java:102)
    6. android.os.Looper.loop(Looper.java:135)
    7. android.app.ActivityThread.main(ActivityThread.java:5221)
    7 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  4. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
    2 frames