java.lang.RuntimeException: Unable to destroy activity {com.chaseapp.chaseapp/com.chaseapp.chaseapp.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.app.Activity.isChangingConfigurations()' on a null object reference

GitHub | leonardo2204 | 6 months ago
  1. 0

    Conductor v2 (RC) NullPointerException

    GitHub | 6 months ago | leonardo2204
    java.lang.RuntimeException: Unable to destroy activity {com.chaseapp.chaseapp/com.chaseapp.chaseapp.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.app.Activity.isChangingConfigurations()' on a null object reference
  2. 0

    GitHub comment 2#246213121

    GitHub | 3 months ago | ZakTaccardi
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.app.Activity.isChangingConfigurations()' on a null object reference
  3. 0

    GitHub comment 2#246285356

    GitHub | 3 months ago | sockeqwe
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.app.Activity.isChangingConfigurations()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Why aren't my objects instantiating under certain resume conditions?

    Stack Overflow | 7 months ago | Travis Dewitt
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.drawable.BitmapDrawable.setVisible(boolean, boolean)' on a null object reference
  6. 0

    Runtime error

    GitHub | 2 years ago | johnamcruz
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.util.concurrent.atomic.AtomicBoolean.compareAndSet(boolean, boolean)' on a null object reference

    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 'boolean android.app.Activity.isChangingConfigurations()' on a null object reference

      at com.hannesdorfmann.mosby.mvp.conductor.delegate.MvpConductorLifecycleListener.preDestroyView()
    2. com.hannesdorfmann.mosby
      MvpViewStateConductorLifecycleListener.preDestroyView
      1. com.hannesdorfmann.mosby.mvp.conductor.delegate.MvpConductorLifecycleListener.preDestroyView(MvpConductorLifecycleListener.java:74)
      2. com.hannesdorfmann.mosby.conductor.viewstate.delegate.MvpViewStateConductorLifecycleListener.preDestroyView(MvpViewStateConductorLifecycleListener.java:44)
      2 frames
    3. com.bluelinelabs.conductor
      LifecycleHandler.onDestroy
      1. com.bluelinelabs.conductor.Controller.removeViewReference(Controller.java:811)
      2. com.bluelinelabs.conductor.Controller.detach(Controller.java:800)
      3. com.bluelinelabs.conductor.Controller.destroy(Controller.java:916)
      4. com.bluelinelabs.conductor.Controller.activityDestroyed(Controller.java:750)
      5. com.bluelinelabs.conductor.Router.onActivityDestroyed(Router.java:414)
      6. com.bluelinelabs.conductor.ControllerHostedRouter.onActivityDestroyed(ControllerHostedRouter.java:68)
      7. com.bluelinelabs.conductor.Router.onActivityDestroyed(Router.java:417)
      8. com.bluelinelabs.conductor.ActivityHostedRouter.onActivityDestroyed(ActivityHostedRouter.java:40)
      9. com.bluelinelabs.conductor.internal.LifecycleHandler.destroyRouters(LifecycleHandler.java:158)
      10. com.bluelinelabs.conductor.internal.LifecycleHandler.onDestroy(LifecycleHandler.java:127)
      10 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Fragment.performDestroy(Fragment.java:2266)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1017)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
      4. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1049)
      5. android.app.FragmentManagerImpl.dispatchDestroy(FragmentManager.java:1897)
      6. android.app.Activity.performDestroy(Activity.java:6168)
      7. android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1141)
      8. android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3693)
      9. android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3724)
      10. android.app.ActivityThread.access$1400(ActivityThread.java:151)
      11. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1357)
      12. android.os.Handler.dispatchMessage(Handler.java:102)
      13. android.os.Looper.loop(Looper.java:135)
      14. android.app.ActivityThread.main(ActivityThread.java:5254)
      14 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
      2 frames