android - Why is NPE thrown when finishing Activity? -
i have error has been driving me crazy days. unfortunately, can not show code 2 reason, boss not appreciate , codebase large share. error occurs whenever activity finishing. weather because call finish() or because os destroys it.
the question is, (or could) cause execpendingactions() in fragmentmanagerimpl throw npe @ line 1196.
here stacktrace:
fragmentmanagerimpl.execpendingactions() line: 1196 fragmentmanagerimpl$1.run() line: 375 handler.handlecallback(message) line: 587 handler.dispatchmessage(message) line: 92 looper.loop() line: 126 activitythread.main(string[]) line: 3997 method.invokenative(object, object[], class, class[], class, int, boolean) line: not available [native method] method.invoke(object, object...) line: 491 zygoteinit$methodandargscaller.run() line: 841 zygoteinit.main(string[]) line: 599 nativestart.main(string[]) line: not available [native method]
you try using compat library , debugging that.
alternatively try , reproduce in cut down sample app.
Comments
Post a Comment