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

IllegalArgumentException when dismissing #99

Open
manuelgon47 opened this issue Jul 25, 2019 · 0 comments
Open

IllegalArgumentException when dismissing #99

manuelgon47 opened this issue Jul 25, 2019 · 0 comments

Comments

@manuelgon47
Copy link

We received a crash from a user interacting with ImageViewer.
We are using 0.5.0 version.

Device crash info:
Android 8.0.0
Device: WAS-LX1A

Fatal Exception: java.lang.IllegalArgumentException: View=DecorView@9fde4cf[] not attached to window manager
       at android.view.WindowManagerGlobal.findViewLocked + 520(WindowManagerGlobal.java:520)
       at android.view.WindowManagerGlobal.removeView + 413(WindowManagerGlobal.java:413)
       at android.view.WindowManagerImpl.removeViewImmediate + 206(WindowManagerImpl.java:206)
       at android.app.Dialog.dismissDialog + 495(Dialog.java:495)
       at android.app.Dialog.dismiss + 478(Dialog.java:478)
       at com.stfalcon.frescoimageviewer.ImageViewer.onDismiss + 111(ImageViewer.java:111)
       at com.stfalcon.frescoimageviewer.ImageViewerView.onDismiss + 190(ImageViewerView.java:190)
       at com.stfalcon.frescoimageviewer.SwipeToDismissListener.callDismissListener + 116(SwipeToDismissListener.java:116)
       at com.stfalcon.frescoimageviewer.SwipeToDismissListener.access$000 + 31(SwipeToDismissListener.java:31)
       at com.stfalcon.frescoimageviewer.SwipeToDismissListener$1.onAnimationEnd + 101(SwipeToDismissListener.java:101)
       at android.animation.Animator$AnimatorListener.onAnimationEnd + 552(Animator.java:552)
       at android.animation.ValueAnimator.endAnimation + 1209(ValueAnimator.java:1209)
       at android.animation.ValueAnimator.doAnimationFrame + 1449(ValueAnimator.java:1449)
       at android.animation.AnimationHandler.doAnimationFrame + 146(AnimationHandler.java:146)
       at android.animation.AnimationHandler.-wrap2()
       at android.animation.AnimationHandler$1.doFrame + 54(AnimationHandler.java:54)
       at android.view.Choreographer$CallbackRecord.run + 979(Choreographer.java:979)
       at android.view.Choreographer.doCallbacks + 790(Choreographer.java:790)
       at android.view.Choreographer.doFrame + 718(Choreographer.java:718)
       at android.view.Choreographer$FrameDisplayEventReceiver.run + 967(Choreographer.java:967)
       at android.os.Handler.handleCallback + 808(Handler.java:808)
       at android.os.Handler.dispatchMessage + 101(Handler.java:101)
       at android.os.Looper.loop + 166(Looper.java:166)
       at android.app.ActivityThread.main + 7523(ActivityThread.java:7523)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run + 245(Zygote.java:245)
       at com.android.internal.os.ZygoteInit.main + 921(ZygoteInit.java:921)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant