1

Getting a java.lang.IllegalStateException: No activity when resuming an activity

view story
linux-howto

http://stackoverflow.com – I'm getting a weird error in one of my activities. I can't figure out why this is happening. I have an Activity which displays search results to the user. When he taps on one of them, a detailed page for that result is shown, and when he closes that Activity it goes back to the search result screen. It works fine for the most part, except on certain devices where it crashes as soon as the Activity resumes. The stack trace is also useless as it is being thrown internally by the support fragment manager. 03-18 15:32:48.987: E/AndroidRuntime(26456): FATAL EXCEPTION: main 03-18 15:32:48.987: E/ (HowTos)