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 Nyerere
, 2 years ago
Unable to start activity ComponentInfo{spmrs.mari.com.marispmrs_api19/spmrs.mari.com.marispmrs_api19.SmsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference
via Stack Overflow by Emily Pascua
, 8 months ago
Unable to start activity ComponentInfo{com.github.nkzawa.socketio.androidchat/com.github.nkzawa.socketio.androidchat.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference
via GitHub by adamvarhegyi
, 2 years ago
Unable to start activity ComponentInfo{com.illion.dotodo.application.sender/com.thrivecom.ringcaptcha.OnboardActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference
via Stack Overflow by Vivek Pathak
, 3 months ago
Unable to start activity ComponentInfo{com.flavourbasket.flavourbasket/com.flavourbasket.flavourbasket.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference
via Stack Overflow by jublikon
, 1 year ago
Unable to start activity ComponentInfo{com.stack.overflow/com.stack.overflow.reviewmaschine.gallery.GalleryActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference
via Stack Overflow by Chirag
, 1 year ago
Unable to start activity ComponentInfo{com.example.krsnv.kooc/com.example.krsnv.kooc.Displayprofile}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{spmrs.mari.com.marispmrs_api19/spmrs.mari.com.marispmrs_api19.SmsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)