Why is NPE thrown when finishing Activity?
问题 I have an error that has been driving me crazy for days. Unfortunately, I can not show you the code for two reason, my boss will not appreciate it and the codebase is too large to share. The error occurs whenever the Activity is finishing. Weather it be because I call finish() or because the os destroys it. The question is, what is (or could) cause execPendingActions() in FragmentManagerImpl to throw a NPE at line 1196. Here is the stacktrace: FragmentManagerImpl.execPendingActions() line: