Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start activity com.tenmiles.helpstack.activities.HomeActivity #57

Open
matdev opened this issue Dec 21, 2018 · 2 comments
Open

Comments

@matdev
Copy link

matdev commented Dec 21, 2018

When I run the line
HSHelpStack.getInstance(getApplicationContext()).showHelp(this);

I get the following error:
Unable to start activity ComponentInfo{com.awox.smart.control/com.tenmiles.helpstack.activities.HomeActivity

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setHomeButtonEnabled(boolean)' on a null object reference
        at com.tenmiles.helpstack.activities.HSActivityParent.onCreate(HSActivityParent.java:48)
        at com.tenmiles.helpstack.activities.HomeActivity.onCreate(HomeActivity.java:45)
        at android.app.Activity.performCreate(Activity.java:7144)
        at android.app.Activity.performCreate(Activity.java:7135)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)

Could you please help solving this problem ?

@SunStalker
Copy link

So do I, tested on Android 7 and 8

@bahaa-ka
Copy link

me to also on 5.1.1 api 22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants