java.lang.NullPointerException: Attempt to read from field 'com.android.server.am.TaskRecord com.android.server.am.ActivityRecord.task' on a null object reference

GitHub | gubatron | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [android/crash] crash on shutdown (probably the finishActivityAffinity)

    GitHub | 5 months ago | gubatron
    java.lang.NullPointerException: Attempt to read from field 'com.android.server.am.TaskRecord com.android.server.am.ActivityRecord.task' on a null object reference
  2. 0

    GitHub comment 2#108637924

    GitHub | 2 years ago | cuiyuming
    java.lang.NullPointerException: Attempt to read from field 'com.android.server.am.TaskRecord com.android.server.am.ActivityRecord.task' on a null object reference

    4 unregistered visitors

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to read from field 'com.android.server.am.TaskRecord com.android.server.am.ActivityRecord.task' on a null object reference

      at android.os.Parcel.readException()
    2. Android Platform
      Activity.finishAffinity
      1. android.os.Parcel.readException(Parcel.java:1552)
      2. android.os.Parcel.readException(Parcel.java:1499)
      3. android.app.ActivityManagerProxy.finishActivityAffinity(ActivityManagerNative.java:2790)
      4. android.app.Activity.finishAffinity(Activity.java:4752)
      4 frames
    3. com.frostwire.android
      AppLovinInterstitialAdapter.adHidden
      1. com.frostwire.android.gui.activities.MainActivity.shutdown(MainActivity.java:177)
      2. com.frostwire.android.offers.Offers$AdNetworkHelper.dismissAndOrShutdownIfNecessary(Offers.java:280)
      3. com.frostwire.android.offers.AppLovinInterstitialAdapter.adHidden(AppLovinInterstitialAdapter.java:119)
      3 frames
    4. com.applovin.adview
      q.onClick
      1. com.applovin.adview.AppLovinInterstitialActivity.c(Unknown Source)
      2. com.applovin.adview.AppLovinInterstitialActivity.dismiss(Unknown Source)
      3. com.applovin.adview.q.onClick(Unknown Source)
      3 frames