java.lang.RuntimeException

Unable to resume activity {org.kiwix.kiwixmobile/org.kiwix.kiwixmobile.KiwixMobileActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {org.kiwix.kiwixmobile/org.kiwix.kiwixmobile.KiwixMobileActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'android.view.MenuItem android.view.Menu.findItem(int)' on a null object reference

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web3

  • via GitHub by kelson42
    ,
  • via GitHub by kelson42
    ,
  • via GitHub by kelson42
    ,
  • Stack trace

    • java.lang.RuntimeException: Unable to resume activity {org.kiwix.kiwixmobile/org.kiwix.kiwixmobile.KiwixMobileActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {org.kiwix.kiwixmobile/org.kiwix.kiwixmobile.KiwixMobileActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'android.view.MenuItem android.view.Menu.findItem(int)' on a null object reference at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3509) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3540) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2860) at android.app.ActivityThread.access$900(ActivityThread.java:181) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1474) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6117) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194) Caused by: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {org.kiwix.kiwixmobile/org.kiwix.kiwixmobile.KiwixMobileActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'android.view.MenuItem android.view.Menu.findItem(int)' on a null object reference at android.app.ActivityThread.deliverResults(ActivityThread.java:4173) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3495) ... 11 more Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'android.view.MenuItem android.view.Menu.findItem(int)' on a null object reference at org.kiwix.kiwixmobile.KiwixMobileActivity.refreshBookmarkSymbol(KiwixMobileActivity.java:1410) at org.kiwix.kiwixmobile.KiwixMobileActivity.onActivityResult(KiwixMobileActivity.java:1367) at android.app.Activity.dispatchActivityResult(Activity.java:6632) at android.app.ActivityThread.deliverResults(ActivityThread.java:4169) ... 12 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

    We couldn't find other users who have seen this exception.