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

NullPointerException onHideAnimationCompleted #56

Open
cagkanciloglu opened this issue Aug 7, 2017 · 4 comments
Open

NullPointerException onHideAnimationCompleted #56

cagkanciloglu opened this issue Aug 7, 2017 · 4 comments

Comments

@cagkanciloglu
Copy link

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.ViewGroup.removeView(android.view.View)' on a null object reference at com.shehabic.droppy.DroppyMenuPopup.dismissPopup(DroppyMenuPopup.java:152) at com.shehabic.droppy.DroppyMenuPopup.hideAnimationCompleted(DroppyMenuPopup.java:138) at com.shehabic.droppy.animations.DroppyFadeInAnimation$1.onAnimationEnd(DroppyFadeInAnimation.java:30) at android.view.animation.Animation.fireAnimationEnd(Animation.java:932) at android.view.animation.Animation.getTransformation(Animation.java:886) at android.view.animation.Animation.getTransformation(Animation.java:952) at android.view.View.applyLegacyAnimation(View.java:16671) at android.view.View.draw(View.java:16787) at android.view.ViewGroup.drawChild(ViewGroup.java:3768) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3578) at android.view.View.updateDisplayListIfDirty(View.java:16060) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3752) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3732) at android.view.View.updateDisplayListIfDirty(View.java:16028) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3752) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3732) at android.view.View.updateDisplayListIfDirty(View.java:16028) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3752) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3732) at android.view.View.updateDisplayListIfDirty(View.java:16028) at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:657) at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:663) at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:771) at android.view.ViewRootImpl.draw(ViewRootImpl.java:2808) at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2616) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2223) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1258) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6348) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:871) at android.view.Choreographer.doCallbacks(Choreographer.java:683) at android.view.Choreographer.doFrame(Choreographer.java:619) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:857) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6123) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)

@TomWayne98
Copy link
Contributor

TomWayne98 commented Oct 2, 2017

We have the same problem. I am going to create a PR which will fix it. Hopefully, it will be ready in a few days.

@davidvavra
Copy link

davidvavra commented Oct 8, 2017

Hi, we have released our fork which fixes this to the jcenter: compile 'io.stepuplabs.droppy:droppy:0.6.1.0'

@afgaiel
Copy link

afgaiel commented Oct 17, 2018

Shall I remove this line

implementation 'com.shehabic.droppy:Droppy:0.6.0@aar' or should be kept with compile 'io.stepuplabs.droppy:droppy:0.6.1.0'

@davidvavra
Copy link

Replace droppy dependency with our dependency

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

4 participants