You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Open User tracking mode demo (i.e. MyLocationTrackingModeActivity) in Mapbox Android SDK TestApp.
In top right dropdown, select GPS bearing or Compass bearing.
Expected behavior
Bearing tracking enabled.
Actual behavior
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.trafi.android.dev, PID: 24710
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.animation.ValueAnimator.getAnimatedValue()' on a null object reference
at com.mapbox.mapboxsdk.maps.widgets.MyLocationView.onDraw(MyLocationView.java:264)
at android.view.View.draw(View.java:17469)
... etc
Activity
[android] mapbox#5331 - Fix crash when MyBearingTracking mode is not …
[android] Fix crash when MyBearingTracking mode is not NONE.
zugaldia commentedon Jun 16, 2016
Confirmed crash and fix. I just merged the PR via #5381 and the code will be available in the next Android 4.1 release.
Thank you @justasm !