java.lang.RuntimeException

Failure delivering result ResultInfo{who=android:fragment:0, request=1, result=-1, data=Intent { (has extras) }} to activity {com.android.contacts/com.android.contacts.activities.ContactEditorActivity}: java.lang.NullPointerException

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web44587

  • via Stack Overflow by Dim
    , 10 months ago
    Failure delivering result ResultInfo{who=android:fragment:0, request=1, result=-1, data=Intent { (has extras) }} to activity {com.android.contacts/com.android.contacts.activities.ContactEditorActivity}: java.lang.NullPointerException
  • Failure delivering result ResultInfo{who=android:fragment:0, request=1, result=-1, data=Intent { (has extras) }} to activity {com.test.class/com.test.class.MapActivity}: java.lang.NullPointerException
  • Failure delivering result ResultInfo{who=android:fragment:0, request=1, result=-1, data=Intent { (has extras) }} to activity {com.example.abcd/com.example.abcd.MainActivity}: java.lang.NullPointerException
  • Stack trace

    • java.lang.RuntimeException: Failure delivering result ResultInfo{who=android:fragment:0, request=1, result=-1, data=Intent { (has extras) }} to activity {com.android.contacts/com.android.contacts.activities.ContactEditorActivity}: java.lang.NullPointerException at android.app.ActivityThread.deliverResults(ActivityThread.java:3302) at android.app.ActivityThread.handleSendResult(ActivityThread.java:3345) at android.app.ActivityThread.access$1100(ActivityThread.java:149) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1348) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:153) at android.app.ActivityThread.main(ActivityThread.java:5086) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:821) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at com.android.contacts.model.EntityModifier.canInsert(EntityModifier.java:94) at com.android.contacts.model.EntityModifier.parseExtras(EntityModifier.java:625) at com.android.contacts.editor.ContactEditorFragment.bindEditorsForNewContact(ContactEditorFragment.java:839) at com.android.contacts.editor.ContactEditorFragment.bindEditorsForNewContact(ContactEditorFragment.java:798) at com.android.contacts.editor.ContactEditorFragment.createContact(ContactEditorFragment.java:765) at com.android.contacts.editor.ContactEditorFragment.onActivityResult(ContactEditorFragment.java:2134) at android.app.Activity.dispatchActivityResult(Activity.java:5208) at android.app.ActivityThread.deliverResults(ActivityThread.java:3298) ... 11 more

    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’re the first here who have seen this exception.