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 jvangore31
, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.jacob.repcapture/com.example.jacob.repcapture.BenchDataEntry}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.Window.findViewById(int)' on a null object reference
via Stack Overflow by Yulian
, 2 years ago
Unable to instantiate activity ComponentInfo{com.colpsic.domain.colpsic_app/com.colpsic.domain.colpsic_app.PrincipalActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.Window.findViewById(int)' on a null object reference
via Stack Overflow by Tom Collier
, 1 year ago
Unable to instantiate activity ComponentInfo{com.aynaar.numbersgameforkids/com.aynaar.numbersgameforkids.ColoursGame}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.Window.findViewById(int)' on a null object reference
via Stack Overflow by Rahul Kumar
, 6 months ago
Unable to instantiate activity ComponentInfo{com.example.dell.browser/com.example.dell.browser.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.Window.findViewById(int)' on a null object reference
via Stack Overflow by Kendrick
, 1 year ago
Unable to instantiate activity ComponentInfo{com.fluke.kgwee.test/com.fluke.kgwee.test.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.Window.findViewById(int)' on a null object reference
via Stack Overflow by Duncan
, 2 years ago
Unable to instantiate activity ComponentInfo{com.hitchhikingapps.rainbowz/com.hitchhikingapps.rainbowz.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.Window.findViewById(int)' on a null object reference
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.jacob.repcapture/com.example.jacob.repcapture.BenchDataEntry}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.Window.findViewById(int)' on a null object reference	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2327)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)