Thursday, November 24, 2011

Android: java.lang.IllegalStateException: Target host must not be null, or set in parameters.

I must admit that I spent more than 20 minutes on this issue. Oddly enough, this exception does not occur when launching a Widget for the first time -- it only happens after you remove the widget then restore it. That is why I'm a little perplexed as to why it happens in some cases but not in others. Anyhow, this post describes the problem and the resolution accurately. After reading this blog, the issue went away in, oh... 30 seconds.

No comments:

Post a Comment