Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

Notification sign out bug #645

Open
rancidfrog opened this issue Nov 28, 2016 · 0 comments
Open

Notification sign out bug #645

rancidfrog opened this issue Nov 28, 2016 · 0 comments

Comments

@rancidfrog
Copy link

rancidfrog commented Nov 28, 2016

When there is a notification and you sign out, notification remains even though signed out:

And, clicking notification crashes app, (since already signed out, I guess):

Build version: v.4.7.4 


Stack trace:  
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.alorma.github/com.alorma.github.ui.activity.IssueDetailActivity}: java.lang.NullPointerException: Cannot return null from a non-@Nullable @Provides method
   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
   at android.app.ActivityThread.-wrap12(ActivityThread.java)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
   at android.os.Handler.dispatchMessage(Handler.java:102)
   at android.os.Looper.loop(Looper.java:154)
   at android.app.ActivityThread.main(ActivityThread.java:6077)
   at java.lang.reflect.Method.invoke(Native Method)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
Caused by: java.lang.NullPointerException: Cannot return null from a non-@Nullable @Provides method
   at dagger.internal.Preconditions.checkNotNull(Preconditions.java:47)
   at com.alorma.github.injector.module.ApiModule_GetTokenFactory.get(ApiModule_GetTokenFactory.java:21)
   at com.alorma.github.injector.module.ApiModule_GetTokenFactory.get(ApiModule_GetTokenFactory.java:7)
   at dagger.internal.DoubleCheck.get(DoubleCheck.java:46)
   at com.alorma.github.injector.module.issues.IssueDetailModule_ProvideRestFactory.get(IssueDetailModule_ProvideRestFactory.java:37)
   at com.alorma.github.injector.module.issues.IssueDetailModule_ProvideRestFactory.get(IssueDetailModule_ProvideRestFactory.java:10)
   at dagger.internal.DoubleCheck.get(DoubleCheck.java:46)
   at com.alorma.github.injector.module.issues.IssueDetailModule_ProvideIssueCommentBaseRxPresenterFactory.get(IssueDetailModule_ProvideIssueCommentBaseRxPresenterFactory.java:44)
   at com.alorma.github.injector.module.issues.IssueDetailModule_ProvideIssueCommentBaseRxPresenterFactory.get(IssueDetailModule_ProvideIssueCommentBaseRxPresenterFactory.java:11)
   at dagger.internal.DoubleCheck.get(DoubleCheck.java:46)
   at com.alorma.github.ui.activity.IssueDetailActivity_MembersInjector.injectMembers(IssueDetailActivity_MembersInjector.java:60)
   at com.alorma.github.ui.activity.IssueDetailActivity_MembersInjector.injectMembers(IssueDetailActivity_MembersInjector.java:11)
   at com.alorma.github.injector.component.DaggerApiComponent$IssueDetailComponentImpl.inject(DaggerApiComponent.java:1181)
   at com.alorma.github.ui.activity.IssueDetailActivity.injectComponents(IssueDetailActivity.java:177)
   at com.alorma.github.ui.activity.base.BaseActivity.injectComponents(BaseActivity.java:56)
   at com.alorma.github.ui.activity.base.BaseActivity.onCreate(BaseActivity.java:43)
   at com.alorma.github.ui.activity.IssueDetailActivity.onCreate(IssueDetailActivity.java:138)
   at android.app.Activity.performCreate(Activity.java:6664)
   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
   ... 9 more

@rancidfrog rancidfrog changed the title App crash on sign out and Notification sign out bug Notification sign out bug Dec 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant