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 com.tr by Unknown author, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.genc.myapplication2/com.example.genc.myapplication2.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 Garrett Marschke
, 11 months ago
Unable to instantiate activity ComponentInfo{com.example.gmars.parseltonguev2/com.example.gmars.parseltonguev2.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 VISHAL TANK
, 1 year ago
Unable to instantiate activity ComponentInfo{com.smartrix.learning4/com.smartrix.learning4.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 M.Al
, 5 months ago
Unable to instantiate activity ComponentInfo{com.mohamedalhammadi.veteran.taxcalculatorbeta10/com.mohamedalhammadi.veteran.taxcalculatorbeta10.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 madmax
, 1 year ago
Unable to instantiate activity ComponentInfo{com.bisesifreelance.maxbisesi.tic_tac_toe/com.bisesifreelance.maxbisesi.tic_tac_toe.GamePlayActivity}: 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 timburnt
, 1 year ago
Unable to instantiate activity ComponentInfo{nsa.com.museum/nsa.com.museum.HistoryActivity}: 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.example.genc.myapplication2/com.example.genc.myapplication2.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)