java.lang.NullPointerException: Attempt to invoke virtual method 'void com.bluelinelabs.conductor.internal.LifecycleHandler.unregisterForActivityResults(java.lang.String)' on a null object reference

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by gabrielittner
, 1 year ago
Attempt to invoke virtual method 'void com.bluelinelabs.conductor.internal.LifecycleHandler.unregisterForActivityResults(java.lang.String)' on a null object reference
via GitHub by JoniDS
, 10 months ago
Attempt to invoke virtual method 'void com.bluelinelabs.conductor.internal.LifecycleHandler.unregisterForActivityResults(java.lang.String)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.bluelinelabs.conductor.internal.LifecycleHandler.unregisterForActivityResults(java.lang.String)' on a null object reference
at com.bluelinelabs.conductor.ActivityHostedRouter.unregisterForActivityResults(ActivityHostedRouter.java:78)
at com.bluelinelabs.conductor.Controller.performDestroy(Controller.java:854)
at com.bluelinelabs.conductor.Controller.removeViewReference(Controller.java:795)
at com.bluelinelabs.conductor.Controller.detach(Controller.java:765)
at com.bluelinelabs.conductor.Controller$7.onViewDetachedFromWindow(Controller.java:834)
at android.view.View.dispatchDetachedFromWindow(View.java:13588)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2838)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2835)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2835)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2835)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2835)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2835)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2835)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2835)
at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:2984)
at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5502)
at android.view.ViewRootImpl.die(ViewRootImpl.java:5479)
at android.view.WindowManagerGlobal.removeViewLocked(WindowManagerGlobal.java:369)
at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:324)
at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:116)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3775)
at android.app.ActivityThread.access$1500(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1375)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5294)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.