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

OffRoute#isUserOffRoute NullPointerException #1139

Closed
Guardiola31337 opened this issue Jul 23, 2018 · 3 comments
Closed

OffRoute#isUserOffRoute NullPointerException #1139

Guardiola31337 opened this issue Jul 23, 2018 · 3 comments
Labels
bug Defect to be fixed.

Comments

@Guardiola31337
Copy link
Contributor

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.mapbox.services.android.navigation.v5.offroute.OffRoute.isUserOffRoute(android.location.Location, com.mapbox.services.android.navigation.v5.routeprogress.RouteProgress, com.mapbox.services.android.navigation.v5.navigation.MapboxNavigationOptions)' on a null object reference
        at com.mapbox.services.android.navigation.v5.navigation.NavigationHelper.isUserOffRoute(NavigationHelper.java:478)
        at com.mapbox.services.android.navigation.v5.navigation.RouteProcessorHandlerCallback.determineUserOffRoute(RouteProcessorHandlerCallback.java:74)
        at com.mapbox.services.android.navigation.v5.navigation.RouteProcessorHandlerCallback.handleRequest(RouteProcessorHandlerCallback.java:51)
        at com.mapbox.services.android.navigation.v5.navigation.RouteProcessorHandlerCallback.handleMessage(RouteProcessorHandlerCallback.java:33)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:193)
        at android.os.HandlerThread.run(HandlerThread.java:65)
@Guardiola31337 Guardiola31337 added bug Defect to be fixed. navigation-core labels Jul 23, 2018
@danesfeder
Copy link
Contributor

@Guardiola31337 do you remember / have any context on how you produced this?

@Guardiola31337
Copy link
Contributor Author

Nope 😥
I was driving when the app suddenly crashed and afterwards I connected the device and luckily the log trace was still available. Will report extra info if seen again.

@danesfeder
Copy link
Contributor

@Guardiola31337 there wasn't any lifecycle changes from what you could remember?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Defect to be fixed.
Projects
None yet
Development

No branches or pull requests

2 participants