java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.test.sunshine/com.example.test.actions.NotificationActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.android.internal.policy.PhoneWindow$DecorView.superDispatchKeyEvent(android.view.KeyEvent)' on a null object reference

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by S4beR
, 1 year ago
Unable to start activity ComponentInfo{com.example.test.sunshine/com.example.test.actions.NotificationActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.android.internal.policy.PhoneWindow$DecorView.superDispatchKeyEvent(android.view.KeyEvent)' on a null object reference
via GitHub by sergiocastell
, 11 months ago
Unable to start activity ComponentInfo{rom.stalker/browser.afh.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.net.NetworkInfo.isConnected()' on a null object reference
via GitHub by xbitlabs
, 1 year ago
Unable to start activity ComponentInfo{im.actor.cloud.free/im.actor.cloud.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean im.actor.core.AndroidMessenger.isLoggedIn()' on a null object reference
via GitHub by USBhost
, 1 year ago
Unable to start activity ComponentInfo{com.google.android.setupwizard/com.google.android.setupwizard.user.WelcomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.google.android.setupwizard.accessibility.AccessibilityGestureHelper.isAccessibilityEnabled()' on a null object reference
via GitHub by sergiocastell
, 11 months ago
Unable to start activity ComponentInfo{rom.stalker/browser.afh.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.net.NetworkInfo.isConnectedOrConnecting()' on a null object reference
via GitHub by sergiocastell
, 11 months ago
Unable to start activity ComponentInfo{rom.stalker/browser.afh.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.net.NetworkInfo.isConnected()' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.test.sunshine/com.example.test.actions.NotificationActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.android.internal.policy.PhoneWindow$DecorView.superDispatchKeyEvent(android.view.KeyEvent)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2450)

Users with the same issue

12 times, 11 months ago
9 times, 11 months ago
777 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
110 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.