java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{net.saudi_dev.uae/net.saudi_dev.uae.Main2Activity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference

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 Prq Hacker
, 1 year ago
Unable to instantiate activity ComponentInfo{net.saudi_dev.uae/net.saudi_dev.uae.Main2Activity}: 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 Shahrukh Raza
, 1 year ago
Unable to instantiate activity ComponentInfo{com.shahrukhraza.app/com.shahrukhraza.app.otherAppActivity}: 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 BestGiraffeNigeria
, 1 year ago
Unable to instantiate activity ComponentInfo{com.tutorial.rizvish.settings/com.tutorial.rizvish.settings.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 Nichole Bonsie
, 1 year ago
Unable to instantiate activity ComponentInfo{net.androidbootcamp.countrycabinrental/net.androidbootcamp.countrycabinrental.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 roohi
, 9 months ago
Unable to instantiate activity ComponentInfo{com.example.rv00485448.todo/com.example.rv00485448.todo.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 Abdelmasieh R. Azer
, 9 months ago
Unable to instantiate activity ComponentInfo{com.tech.techcoder/com.tech.techcoder.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{net.saudi_dev.uae/net.saudi_dev.uae.Main2Activity}: 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:2548)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
8 times, 1 month ago
280 times, 1 year ago
9 times, 11 months ago
16 times, 10 months ago
109 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.