Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAbhimanyu Banerjee
919 PointsIO Exception Caught - inputstream not being read properly
After creating the simple adapter and invoking it, I run my app but each time I get the error dialog and 'IO Exception Caught' message in the log. Any idea why this might be happening? Any help is appreciated
1 Answer
Stone Preston
42,016 PointsThis happened to me as well. I would run the app and get an input stream exception (I think it said something about an unrecognized character string or something like that). But after the crash I would stop the app then run it again and it would work. Did you try running it again after it crashes?
Abhimanyu Banerjee
919 PointsAbhimanyu Banerjee
919 PointsThanks. Restarting the app after force stopping worked. But after I added the BlogPostWebView activity and ran the app again, the IO Exception returned. This time however restarting the app (multiple times) has not helped.
PS: Log indicates it is an EOF error. But the line referenced is where I have stored the responseCode which is an integer. I cannot understand what is going on. Please help!