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

NPE on send intent #122

Open
pforhan opened this issue Sep 3, 2015 · 0 comments
Open

NPE on send intent #122

pforhan opened this issue Sep 3, 2015 · 0 comments

Comments

@pforhan
Copy link
Collaborator

pforhan commented Sep 3, 2015

I think (though I haven't confirmed this) that sending the PAUSE command to car cast when it's already paused causes this crash. I have Llama set up to send it to CC when it disconnects from my car's bluetooth.

If I get a chance, I'll dig into the code further.

 java.lang.RuntimeException: Unable to start service com.jadn.cc.services.ContentService@353b99d0 with Intent { cmp=com.jadn.cc/.services.ContentService (has extras) }: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
    at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2906)
    at android.app.ActivityThread.access$2100(ActivityThread.java:144)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1376)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5246)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
 Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
    at com.jadn.cc.services.ContentService.onStartCommand(ContentService.java:687)
    at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2889)
    ... 9 more
Force finishing activity com.jadn.cc/.ui.CarCast
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

1 participant