Monday, December 12, 2011

[android-developers] EOFException on Galaxy Nexus

Hi everyone,

I have an app that connects to a HTTP service using an URLConnection. The app is in the market over a year now and works quite well, however recently problems with Galaxy Nexus users came up:

When getting the input stream from the URLConnection using getInputStream(), an EOFException is thrown. I really wonder why this is, because at this point, only the headers are being read from the stream. The code of the line where it crashes can be seen here[1].

First I thought this may be an ICS problem, so I installed a early build on my Nexus S, but no reproduction there. Then I got access to a Galaxy Nexus and it crashed the same way as the bug reports I've received, which makes me think that it's probably not a case of a single phone acting weird.

The stack trace of the crash can be seen here[2] (also, the message of the exception is null, hence the NPE). It's really quite bothersome, the app has 100k+ installations and the problem does only seem to occur on the Galaxy Nexus.

Any suggestions, hints or comments would be really appreciated.

Cheers,


   -freezy.



--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate