java.lang.NullPointerException: Attempt to invoke virtual method 'void android.animation.Animator.removeListener(android.animation.Animator$AnimatorListener)' on a null object reference

GitHub | krystianpe | 3 months ago
  1. 0

    NPE from AnimationChangeHandler in version 2.0.2

    GitHub | 3 months ago | krystianpe
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.animation.Animator.removeListener(android.animation.Animator$AnimatorListener)' on a null object reference
  2. 0

    Demo crashing on API 25

    GitHub | 1 month ago | JoniDS
    java.lang.NullPointerException: Attempt to invoke virtual method 'void com.bluelinelabs.conductor.internal.LifecycleHandler.unregisterForActivityResults(java.lang.String)' on a null object reference
  3. 0
    Use 'dialog' to access views from custom_layout layout.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Initialize the variable before calling a method on it.
  6. 0
    The resource was accessed after it was dismissed.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void android.animation.Animator.removeListener(android.animation.Animator$AnimatorListener)' on a null object reference

      at com.bluelinelabs.conductor.changehandler.AnimatorChangeHandler$2.onAnimationEnd()
    2. com.bluelinelabs.conductor
      AnimatorChangeHandler$2.onAnimationEnd
      1. com.bluelinelabs.conductor.changehandler.AnimatorChangeHandler$2.onAnimationEnd(AnimatorChangeHandler.java:170)
      1 frame
    3. Android Platform
      AnimatorSet.cancel
      1. android.animation.AnimatorSet.cancel(AnimatorSet.java:327)
      1 frame
    4. com.bluelinelabs.conductor
      LifecycleHandler.onActivitySaveInstanceState
      1. com.bluelinelabs.conductor.changehandler.AnimatorChangeHandler.completeImmediately(AnimatorChangeHandler.java:77)
      2. com.bluelinelabs.conductor.ControllerChangeHandler.completePushImmediately(ControllerChangeHandler.java:106)
      3. com.bluelinelabs.conductor.Router.prepareForHostDetach(Router.java:484)
      4. com.bluelinelabs.conductor.Router.saveInstanceState(Router.java:490)
      5. com.bluelinelabs.conductor.internal.LifecycleHandler.onActivitySaveInstanceState(LifecycleHandler.java:311)
      5 frames
    5. Android Platform
      Activity.onSaveInstanceState
      1. android.app.Application.dispatchActivitySaveInstanceState(Application.java:259)
      2. android.app.Activity.onSaveInstanceState(Activity.java:1461)
      2 frames
    6. Android Support v4
      FragmentActivity.onSaveInstanceState
      1. android.support.v4.app.FragmentActivity.onSaveInstanceState(FragmentActivity.java:567)
      1 frame
    7. Android v7
      AppCompatActivity.onSaveInstanceState
      1. android.support.v7.app.AppCompatActivity.onSaveInstanceState(AppCompatActivity.java:511)
      1 frame