Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Mapbox sometimes crash, android 9 #735

Open
cyxcw1 opened this issue Jul 15, 2022 · 0 comments
Open

Mapbox sometimes crash, android 9 #735

cyxcw1 opened this issue Jul 15, 2022 · 0 comments

Comments

@cyxcw1
Copy link

cyxcw1 commented Jul 15, 2022

  • Mapbox version: 9.7.1
  • android version: 9.0
    crash stack:
Thread Name: 'main'
Back traces starts.
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
	at android.animation.PropertyValuesHolder.setObjectValues(PropertyValuesHolder.java:663)
	at android.animation.PropertyValuesHolder.ofObject(PropertyValuesHolder.java:406)
	at android.animation.ValueAnimator.setObjectValues(ValueAnimator.java:506)
	at com.mapbox.mapboxsdk.location.MapboxAnimator.<init>(MapboxAnimator.java:67)
	at com.mapbox.mapboxsdk.location.MapboxLatLngAnimator.<init>(MapboxLatLngAnimator.java:13)
	at com.mapbox.mapboxsdk.location.MapboxAnimatorProvider.latLngAnimator(MapboxAnimatorProvider.java:28)
	at com.mapbox.mapboxsdk.location.LocationAnimatorCoordinator.createNewLatLngAnimator(LocationAnimatorCoordinator.java:332)
	at com.mapbox.mapboxsdk.location.LocationAnimatorCoordinator.updateCameraAnimators(LocationAnimatorCoordinator.java:292)
	at com.mapbox.mapboxsdk.location.LocationAnimatorCoordinator.feedNewLocation(LocationAnimatorCoordinator.java:118)
	at com.mapbox.mapboxsdk.location.LocationComponent.updateLocation(LocationComponent.java:1622)
	at com.mapbox.mapboxsdk.location.LocationComponent.updateLocation(LocationComponent.java:1593)
	at com.mapbox.mapboxsdk.location.LocationComponent.access$1000(LocationComponent.java:103)
	at com.mapbox.mapboxsdk.location.LocationComponent$CurrentLocationEngineCallback.onSuccess(LocationComponent.java:1809)
	at com.mapbox.mapboxsdk.location.LocationComponent$CurrentLocationEngineCallback.onSuccess(LocationComponent.java:1797)
	at com.mapbox.android.core.location.MapboxFusedLocationEngineImpl$MapboxLocationEngineCallbackTransport.onLocationChanged(MapboxFusedLocationEngineImpl.java:120)
	at android.location.LocationManager$ListenerTransport._handleMessage(LocationManager.java:371)
	at android.location.LocationManager$ListenerTransport.access$000(LocationManager.java:300)
	at android.location.LocationManager$ListenerTransport$2.handleMessage(LocationManager.java:323)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:193)
	at android.app.ActivityThread.main(ActivityThread.java:6718)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Back traces ends.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant