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

android o null #18

Open
iamwindow opened this issue Nov 20, 2018 · 1 comment
Open

android o null #18

iamwindow opened this issue Nov 20, 2018 · 1 comment

Comments

@iamwindow
Copy link

java.lang.RuntimeException: Unable to stop service br.com.safety.locationlistenerhelper.core.LocationService@2cbedd7: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.google.android.gms.common.api.GoogleApiClient.isConnected()' on a null object reference
at android.app.ActivityThread.handleStopService(ActivityThread.java:3741)
at android.app.ActivityThread.-wrap28(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1832)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:7002)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.google.android.gms.common.api.GoogleApiClient.isConnected()' on a null object reference
at br.com.safety.locationlistenerhelper.core.LocationService.stopLocationUpdates(LocationService.java:143)
at br.com.safety.locationlistenerhelper.core.LocationService.onDestroy(LocationService.java:150)
at android.app.ActivityThread.handleStopService(ActivityThread.java:3723)
at android.app.ActivityThread.-wrap28(Unknown Source:0) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1832) 
at android.os.Handler.dispatchMessage(Handler.java:106) 
at android.os.Looper.loop(Looper.java:164) 
at android.app.ActivityThread.main(ActivityThread.java:7002) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408) 

@iamwindow
Copy link
Author

galaxy 9

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