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

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getAction()' on a null object reference #73

Closed
xuduo opened this issue May 15, 2020 · 2 comments

Comments

@xuduo
Copy link

xuduo commented May 15, 2020

Got this crash, doesn't always occur.
I use multiple process in my app. One for push for example.

java.lang.RuntimeException: Unable to start service cn.hikyson.godeye.core.internal.notification.LocalNotificationListenerService@b7afb04 with null: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getAction()' on a null object reference
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3922)
at android.app.ActivityThread.access$1700(ActivityThread.java:240)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1828)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7094)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getAction()' on a null object reference
at cn.hikyson.godeye.core.internal.notification.LocalNotificationListenerService.onStartCommand(LocalNotificationListenerService.java:45)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3903)
... 8 more

@xuduo
Copy link
Author

xuduo commented May 15, 2020

When my app starts

Kyson pushed a commit that referenced this issue May 25, 2020
NullPointerException in LocalNotificationListenerService: #73
@Kyson
Copy link
Owner

Kyson commented May 25, 2020

Fixed in version 3.4.3.

@Kyson Kyson closed this as completed May 25, 2020
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

2 participants