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

Crash while sending telemetry events early in the lifecycle #12404

Closed
LukasPaczos opened this issue Jul 17, 2018 · 0 comments · Fixed by #12405
Closed

Crash while sending telemetry events early in the lifecycle #12404

LukasPaczos opened this issue Jul 17, 2018 · 0 comments · Fixed by #12405
Labels
Android Mapbox Maps SDK for Android telemetry Integration with Mapbox Telemetry libraries

Comments

@LukasPaczos
Copy link
Contributor

Users have reported crashes while sending telemetry events before the activity is created.

#0. Crashed: main
       at com.mapbox.android.telemetry.MapEventFactory.(SourceFile:50)
       at com.mapbox.mapboxsdk.maps.MapGestureDetector.sendTelemetryEvent(SourceFile:889)
       at com.mapbox.mapboxsdk.maps.MapGestureDetector.access$700(SourceFile:43)
       at com.mapbox.mapboxsdk.maps.MapGestureDetector$MoveGestureListener.onMoveBegin(SourceFile:441)
       at com.mapbox.android.gestures.MoveGestureDetector.analyzeMovement(SourceFile:154)
       at com.mapbox.android.gestures.MultiFingerGesture.analyzeEvent(SourceFile:98)
       at com.mapbox.android.gestures.ProgressiveGesture.analyzeEvent(SourceFile:46)
       at com.mapbox.android.gestures.MoveGestureDetector.analyzeEvent(SourceFile:135)
       at com.mapbox.android.gestures.BaseGesture.analyze(SourceFile:56)
       at com.mapbox.android.gestures.BaseGesture.onTouchEvent(SourceFile:34)
       at com.mapbox.android.gestures.AndroidGesturesManager.onTouchEvent(SourceFile:186)
       at com.mapbox.mapboxsdk.maps.MapGestureDetector.onTouchEvent(SourceFile:217)
       at com.mapbox.mapboxsdk.maps.MapView.onTouchEvent(SourceFile:440)
       at android.view.View.dispatchTouchEvent(View.java:11722)
       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2955)
       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2636)
       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2961)
       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2650)
       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2961)
       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2650)
       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2961)
       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2650)
       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2961)
       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2650)
       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2961)
       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2650)
       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2961)
       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2650)
       at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2961)
       at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2650)
       at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:445)
       at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1828)
       at android.app.Activity.dispatchTouchEvent(Activity.java:3333)
       at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(SourceFile:68)
       at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(SourceFile:68)
       at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:407)
       at android.view.View.dispatchPointerEvent(View.java:11961)
       at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4806)
       at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4620)
       at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4158)
       at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4211)
       at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4177)
       at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4304)
       at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4185)
       at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4361)
       at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4158)
       at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4211)
       at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4177)
       at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4185)
       at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4158)
       at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6679)
       at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6653)
       at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6614)
       at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6782)
       at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:186)
       at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(InputEventReceiver.java)
       at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:177)
       at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:6753)
       at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:6805)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:966)
       at android.view.Choreographer.doCallbacks(Choreographer.java:778)
       at android.view.Choreographer.doFrame(Choreographer.java:707)
       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:952)
       at android.os.Handler.handleCallback(Handler.java:789)
       at android.os.Handler.dispatchMessage(Handler.java:98)
       at android.os.Looper.loop(Looper.java:169)
       at android.app.ActivityThread.main(ActivityThread.java:6578)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
@LukasPaczos LukasPaczos added Android Mapbox Maps SDK for Android telemetry Integration with Mapbox Telemetry libraries labels Jul 17, 2018
@LukasPaczos LukasPaczos added this to the android-v6.3.0 milestone Jul 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android telemetry Integration with Mapbox Telemetry libraries
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant