java.lang.NullPointerException

Attempt to read from field 'android.content.pm.ActivityInfo android.content.pm.ResolveInfo.activityInfo' on a null object reference

Solutions on the web21072

  • via GitHub by piersguo
    , 11 months ago
    Attempt to read from field 'android.content.pm.ActivityInfo android.content.pm.ResolveInfo.activityInfo' on a null object reference
  • Attempt to read from field 'android.content.pm.ActivityInfo android.content.pm.ResolveInfo.activityInfo' on a null object reference
  • via JIRA by Christian Buck, 1 year ago
    Attempt to read from field 'android.content.pm.ActivityInfo android.appwidget.AppWidgetProviderInfo.providerInfo' on a null object reference
  • Stack trace

    • java.lang.NullPointerException: Attempt to read from field 'android.content.pm.ActivityInfo android.content.pm.ResolveInfo.activityInfo' on a null object reference at android.view.ViewRootImpl.isTargetPackage(ViewRootImpl.java:8092) at android.view.ViewRootImpl.scheduleTraversals(ViewRootImpl.java:1262) at android.view.ViewRootImpl.invalidateRectOnScreen(ViewRootImpl.java:1154) at android.view.ViewRootImpl.invalidateChildInParent(ViewRootImpl.java:1131) at android.view.ViewGroup.invalidateChild(ViewGroup.java:5219) at android.view.View.invalidateInternal(View.java:12900) at android.view.View.invalidate(View.java:12860) at android.view.View.invalidate(View.java:12844) at android.widget.ListView.layoutChildren(ListView.java:1528) at android.widget.AbsListView.onTouchUp(AbsListView.java:4184) at android.widget.AbsListView.onTouchEvent(AbsListView.java:3924) at android.view.View.dispatchTouchEvent(View.java:9415) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2660) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2304) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2666) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2318) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2666) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2318) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2666) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2318) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2666) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2318) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2666) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2318) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2666) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2318) at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2453) at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1772) at android.app.Activity.dispatchTouchEvent(Activity.java:2808) at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60) at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2414) at android.view.View.dispatchPointerEvent(View.java:9646) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4743) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4601) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4106) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4159) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4125) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4271) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4133) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4328) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4106) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4159) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4125) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4133) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4106) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6560) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6534) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6477) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6732) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:328)

    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

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    7 more bugmates