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 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 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 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
, 1 year 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
, 9 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
, 9 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:116)	at android.support.v7.app.AppCompatDelegateImplV9.(AppCompatDelegateImplV9.java:147)	at android.support.v7.app.AppCompatDelegateImplV11.(AppCompatDelegateImplV11.java:27)	at android.support.v7.app.AppCompatDelegateImplV14.(AppCompatDelegateImplV14.java:50)	at android.support.v7.app.AppCompatDelegateImplV23.(AppCompatDelegateImplV23.java:29)	at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:199)	at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:181)	at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:521)	at android.support.v7.app.AppCompatActivity.findViewById(AppCompatActivity.java:190)	at com.rcbot.MainActivity.(MainActivity.java:24)	at java.lang.Class.newInstance(Native Method)	at android.app.Instrumentation.newActivity(Instrumentation.java:1095)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3083)