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

Fatal Exception: java.lang.NullPointerException #272

Open
dzen1984 opened this issue Apr 26, 2019 · 0 comments
Open

Fatal Exception: java.lang.NullPointerException #272

dzen1984 opened this issue Apr 26, 2019 · 0 comments

Comments

@dzen1984
Copy link

dzen1984 commented Apr 26, 2019

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.Serializable android.content.Intent.getSerializableExtra(java.lang.String)' on a null object reference
at io.nlopez.smartlocation.geocoding.providers.AndroidGeocodingProvider$AndroidGeocodingService.onHandleIntent(AndroidGeocodingProvider.java:164)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)

I believe it happened on AndroidGeocodingService that extends IntentService and overrides
protected abstract void onHandleIntent(@Nullable Intent intent);
and intent value may be null if the service is being restarted after its process has gone away

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