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.



[1]
https://github.com/freezy/android-xbmcremote/blob/master/src/org/xbmc/httpapi/Connection.java#L278
[2] http://code.google.com/p/android-xbmcremote/issues/detail?id=581

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

Reply via email to