java.lang.RuntimeException: Unable to destroy activity {MyApplication}: java.lang.NullPointerException: Attempt to invoke interface method 'com.liulishuo.filedownloader.BaseDownloadTask com.liulishuo.filedownloader.BaseDownloadTask$IRunningTask.getOrigin()' on a null object reference

GitHub | danielnazareth | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    App crashing when try to pause

    GitHub | 4 months ago | danielnazareth
    java.lang.RuntimeException: Unable to destroy activity {MyApplication}: java.lang.NullPointerException: Attempt to invoke interface method 'com.liulishuo.filedownloader.BaseDownloadTask com.liulishuo.filedownloader.BaseDownloadTask$IRunningTask.getOrigin()' on a null object reference
  2. 0

    OkHttpCallUtil.java Error when exiting the app using BackAndroid.exitapp()

    GitHub | 12 months ago | avishayil
    java.lang.RuntimeException: Unable to destroy activity {com.zuznow.geektime/com.zuznow.geektime.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Object.equals(java.lang.Object)' on a null object reference
  3. 0

    GitHub comment 230#242934320

    GitHub | 9 months ago | Blaisorblade
    java.lang.RuntimeException: Unable to destroy activity {com.kamron.pogoiv/com.kamron.pogoiv.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.googlecode.tesseract.android.TessBaseAPI.stop()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointerException on com.plugin.gcm.OneSignalPush.onDestroy

    GitHub | 5 months ago | nootherday
    java.lang.RuntimeException: Unable to destroy activity {com.luga/com.luga.MainActivity}: java.lang.NullPointerException: Attempt to write to field 'com.onesignal.OneSignal$NotificationOpenedHandler com.onesignal.OneSignal$Builder.mNotificationOpenedHandler' on a null object reference

  1. Pierre 1 times, last 6 days ago
  2. Hiren 82 times, last 1 week ago
  3. Indri Yunita 98 times, last 3 weeks ago
  4. andreeaa marin 8 times, last 2 months ago
  5. ahmed 6 times, last 2 months ago
80 more registered users
15 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

    Unable to destroy activity {MyApplication}: java.lang.NullPointerException: Attempt to invoke interface method 'com.liulishuo.filedownloader.BaseDownloadTask com.liulishuo.filedownloader.BaseDownloadTask$IRunningTask.getOrigin()' on a null object reference

    at android.app.ActivityThread.performDestroyActivity()
  2. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5066)
    2. android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5089)
    3. android.app.ActivityThread.access$1700(ActivityThread.java:222)
    4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1854)
    5. android.os.Handler.dispatchMessage(Handler.java:102)
    6. android.os.Looper.loop(Looper.java:158)
    7. android.app.ActivityThread.main(ActivityThread.java:7229)
    7 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    1 frame
  4. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames