java.lang.IllegalStateException: after animation is canceled, item should not be in removeAnimations.

GitHub | akihito104 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    after animation is canceled, item should not be in removeAnimations

    GitHub | 8 months ago | akihito104
    java.lang.IllegalStateException: after animation is canceled, item should not be in removeAnimations.
  2. 0

    Could not find a method saveData(View)

    Google Groups | 8 months ago | Giuseppe Guarino
    java.lang.IllegalStateException: Could not find a method saveData(View) in the activity class com.example.giuse.secondly.NewSheet for onClick handler on view class android.widget.Button with id 'button_save' at android.view.View$1.onClick(View.java:4007) at android.view.View.performClick(View.java:4780) at android.view.View$PerformClick.run(View.java:19866) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      after animation is canceled, item should not be in removeAnimations.

      at com.freshdigitable.udonroad.TimelineAnimator.endAnimation()
    2. com.freshdigitable.udonroad
      TimelineAnimator.endAnimation
      1. com.freshdigitable.udonroad.TimelineAnimator.endAnimation(TimelineAnimator.java:509)
      1 frame
    3. Android v7
      RecyclerView.onLayout
      1. android.support.v7.widget.RecyclerView$LayoutManager.removeAndRecycleScrapInt(RecyclerView.java:7736)
      2. android.support.v7.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:3388)
      3. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3135)
      4. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3568)
      4 frames
    4. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16686)
      2. android.view.ViewGroup.layout(ViewGroup.java:5438)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      5. android.view.View.layout(View.java:16686)
      6. android.view.ViewGroup.layout(ViewGroup.java:5438)
      6 frames
    5. android.support.design
      CoordinatorLayout.onLayout
      1. android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:131)
      2. android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
      3. android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1364)
      4. android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:846)
      4 frames
    6. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16686)
      2. android.view.ViewGroup.layout(ViewGroup.java:5438)
      2 frames
    7. Android Support v4
      DrawerLayout.onLayout
      1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1197)
      1 frame
    8. Android Platform
      FrameLayout.onLayout
      1. android.view.View.layout(View.java:16686)
      2. android.view.ViewGroup.layout(ViewGroup.java:5438)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      5. android.view.View.layout(View.java:16686)
      6. android.view.ViewGroup.layout(ViewGroup.java:5438)
      7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      9. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      10. android.view.View.layout(View.java:16686)
      11. android.view.ViewGroup.layout(ViewGroup.java:5438)
      12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      13. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      14. android.view.View.layout(View.java:16686)
      15. android.view.ViewGroup.layout(ViewGroup.java:5438)
      16. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      17. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      18. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      19. android.view.View.layout(View.java:16686)
      20. android.view.ViewGroup.layout(ViewGroup.java:5438)
      21. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      22. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      22 frames
    9. Android
      PhoneWindow$DecorView.onLayout
      1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)
      1 frame
    10. Android Platform
      ActivityThread.main
      1. android.view.View.layout(View.java:16686)
      2. android.view.ViewGroup.layout(ViewGroup.java:5438)
      3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2186)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1946)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1122)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6062)
      7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
      8. android.view.Choreographer.doCallbacks(Choreographer.java:670)
      9. android.view.Choreographer.doFrame(Choreographer.java:606)
      10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
      11. android.os.Handler.handleCallback(Handler.java:739)
      12. android.os.Handler.dispatchMessage(Handler.java:95)
      13. android.os.Looper.loop(Looper.java:148)
      14. android.app.ActivityThread.main(ActivityThread.java:5595)
      14 frames
    11. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    12. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:734)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:624)
      2 frames