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

Samebug tips

  1. ,

    Create an empty public constructor in your code.

Solutions on the web

via Android Enthusiasts by Elias Lankinen
, 1 year ago
Unable to instantiate activity ComponentInfo{com.taponestudio.eazyshoppinglist/com.taponestudio.eazyshoppinglist.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 Sharath Chandra
, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.shara.currencyconvertor/com.example.shara.currencyconvertor.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 Narendra Ravuri
, 11 months ago
Unable to instantiate activity ComponentInfo{com.example.narendra.calculator/com.example.narendra.calculator.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 Dhanasekar
, 9 months ago
Unable to instantiate activity ComponentInfo{com.fellowwebster.currencyconverter/com.fellowwebster.currencyconverter.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 Big poppa
, 9 months ago
Unable to instantiate activity ComponentInfo{com.example.drizzybass.skyetek_login_with_sqlserver/com.example.drizzybass.skyetek_login_with_sqlserver.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 Joel Geri
, 7 months ago
Unable to instantiate activity ComponentInfo{com.example.joelg.clapp/com.example.joelg.clapp.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.taponestudio.eazyshoppinglist/com.taponestudio.eazyshoppinglist.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2327)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)