leinardi / leinardi/FloatingActionButtonSpeedDial
RuntimeException: Failed to initialise display event receiver.
Open
Nobody has claimed this yet.
Priority: Medium
Status: Stale
Type: Bug
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 149
- PR merge metrics
- No merged PRs in 30d
Description
Any idea why this is happening?
Happening on android 7 & 8
Caused by java.lang.RuntimeException: Failed to initialize display event receiver. status=-19
at android.view.DisplayEventReceiver.nativeInit(DisplayEventReceiver.java)
at android.view.DisplayEventReceiver.(DisplayEventReceiver.java:92)
at android.view.Choreographer$FrameDisplayEventReceiver.(Choreographer.java:845)
at android.view.Choreographer.(Choreographer.java:225)
at android.view.Choreographer.(Unknown Source)
at android.view.Choreographer$1.initialValue(Choreographer.java:108)
at android.view.Choreographer$1.initialValue(Choreographer.java:102)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:180)
at java.lang.ThreadLocal.get(ThreadLocal.java:170)
at android.view.Choreographer.getInstance(Choreographer.java:251)
at android.animation.AnimationHandler$MyFrameCallbackProvider.(AnimationHandler.java:244)
at android.animation.AnimationHandler$MyFrameCallbackProvider.(Unknown Source)
at android.animation.AnimationHandler.getProvider(AnimationHandler.java:85)
at android.animation.AnimationHandler.addAnimationFrameCallback(AnimationHandler.java:95)
at android.animation.ValueAnimator.addAnimationCallback(ValueAnimator.java:1486)
at android.animation.ValueAnimator.start(ValueAnimator.java:1035)
at android.animation.ValueAnimator.start(ValueAnimator.java:1065)
at android.view.ViewPropertyAnimator.startAnimation(ViewPropertyAnimator.java:904)
at android.view.ViewPropertyAnimator.start(ViewPropertyAnimator.java:416)
at android.support.v4.view.ViewPropertyAnimatorCompat.start(SourceFile:644)
at com.leinardi.android.speeddial.UiUtils.rotateBackward(SourceFile:223)
at com.leinardi.android.speeddial.SpeedDialView.updateMainFabDrawable(SourceFile:773)
at com.leinardi.android.speeddial.SpeedDialView.setMainFabOpenedDrawable(SourceFile:572)
at com.leinardi.android.speeddial.SpeedDialView.setMainFabAnimationRotateAngle(SourceFile:556)
at com.bsb.hike.ui.HomeActivity.setUpFab(SourceFile:1115)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the stack-trace entry points in UiUtils.rotateBackward and SpeedDialView.updateMainFabDrawable, then trace the calls from HomeActivity.setUpFab. Reproduce the failure on Android 7 and 8 and identify the conditions leading to the DisplayEventReceiver error. Done means the cause is documented and the failure is fixed or clearly confirmed as an external platform issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100