Skip to content Skip to sidebar Skip to footer

Getting A Java.lang.illegalstateexception: No Activity When Resuming An Activity

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 th

Solution 1:

Never mind, I got the answer - It's the same as THIS one.

Someone had overriden onWindowFocusChanged(boolean hasFocus) in the details page but was calling super.onResume() instead. I do wish that the error message had been more clear though.

Solution 2:

Post a Comment for "Getting A Java.lang.illegalstateexception: No Activity When Resuming An Activity"