-
Notifications
You must be signed in to change notification settings - Fork 253
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
NPE : Attempt to invoke virtual method 'void android.support.v4.app.FragmentManager.popBackStack()' on a null object reference #25
Comments
Please provide exception stack trace. |
|
Any updates on this issue? I observe the same issue. |
I also find this problem,can you fix it?Thanks |
I use it in "public void onBackPressed()", maybe something is released after calling this method, so get a NullPointerException, maybe there is some bug in your projrct? |
I solved it, make "onBackPressed" running on another thread is ok! |
I also had the problem. setCancelableOnTouchOutside (true), this problem must occur when I always click on the event. This problem sometimes occurs when setCancelableOnTouchOutside (false). |
My solution is to prevent duplicate clicks |
Application crashed if using support library. Try to use getSupportedFragmentManager instead.
The text was updated successfully, but these errors were encountered: