java.lang.RuntimeException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web45601

  • 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
  • Unable to instantiate activity ComponentInfo{com.example.android.appName/com.example.android.appName.LoginActivity}: 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 CJovany
    , 1 year ago
    Unable to instantiate activity ComponentInfo{app.jovany.com.memorama/app.jovany.com.memorama.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
  • Stack trace

    • java.lang.RuntimeException: 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 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2548) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    5 times, 5 days ago
    65 times, 2 weeks ago
    6 times, 2 weeks ago
    210 times, 2 weeks ago
    Once, 3 weeks ago
    103 more bugmates