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 Stack Overflow by Vamsi
, 1 year ago
Unable to instantiate activity ComponentInfo{com.sbvamsi.intentexample/com.sbvamsi.intentexample.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 Abhinav Shirur
, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.abhinav123.sinch2/com.example.abhinav123.sinch2.CallActivity}: 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 Nali
, 2 years ago
Unable to instantiate activity ComponentInfo{com.rsa_solutions.attendance/com.rsa_solutions.attendance.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 shriyans kapoor
, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.nick.grab/com.example.nick.grab.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 S.BM
, 1 year ago
Unable to instantiate activity ComponentInfo{dordoonehbaby.com.dordooneh/dordoonehbaby.com.dordooneh.ShopPageActivity}: 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 byIcee
, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.marko.myapplication/com.example.marko.myapplication.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.sbvamsi.intentexample/com.sbvamsi.intentexample.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:2337)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490)