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 Julian
, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.android.stimmenauswerter/com.example.android.stimmenauswerter.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
via Stack Overflow by marco
, 1 year ago
Unable to instantiate activity ComponentInfo{com.rcbot/com.rcbot.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
via Stack Overflow by akkie4396
, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.akkie.customize/com.example.akkie.customize.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
via Stack Overflow by Markj
, 10 months ago
Unable to instantiate activity ComponentInfo{com.example.android.justjava/com.example.android.justjava.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
via Stack Overflow by Jonas
, 6 months ago
Unable to instantiate activity ComponentInfo{com.example.jonas.blackjack/com.example.jonas.blackjack.Gameactivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
via Stack Overflow by Mohamed AlMazroo
, 6 months ago
Unable to instantiate activity ComponentInfo{com.example.android.justjava/com.example.android.justjava.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference	at android.support.v7.app.AppCompatDelegateImplBase.(AppCompatDelegateImplBase.java:72)	at android.support.v7.app.AppCompatDelegateImplV7.(AppCompatDelegateImplV7.java:146)	at android.support.v7.app.AppCompatDelegateImplV11.(AppCompatDelegateImplV11.java:28)	at android.support.v7.app.AppCompatDelegateImplV14.(AppCompatDelegateImplV14.java:41)	at android.support.v7.app.AppCompatDelegateImplV23.(AppCompatDelegateImplV23.java:29)	at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:191)	at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:173)	at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:511)	at android.support.v7.app.AppCompatActivity.findViewById(AppCompatActivity.java:183)	at com.example.android.stimmenauswerter.MainActivity.(MainActivity.java:21)	at java.lang.Class.newInstance(Native Method)	at android.app.Instrumentation.newActivity(Instrumentation.java:1095)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3083)