Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArrayIndexOutOfBoundsException #24

Open
tprochazka opened this issue Oct 10, 2012 · 2 comments
Open

ArrayIndexOutOfBoundsException #24

tprochazka opened this issue Oct 10, 2012 · 2 comments

Comments

@tprochazka
Copy link

I just published first app which use httpresponsecache and I start receiving this error from Crittercism. I'm not able to reproduce it, it look that all reports are from Samsung Galaxy S II phone so far, but I'm not able to recognize if this is official ROM :-(

I use 1.2 version.
I looks that this happen only for HTTPS connections.
Maybe problem is not directly in httpresponsecache but in security provider.

Has someone found similar problem?

java.lang.ArrayIndexOutOfBoundsException: src.length=20 srcPos=20 dst.length=1024 dstPos=0 length=8 at java.lang.System.arraycopy(Native Method) at org.apache.harmony.security.provider.crypto.SHA1PRNG_SecureRandomImpl.engineNextBytes(SHA1PRNG_SecureRandomImpl.java:339) at org.apache.harmony.security.provider.crypto.SHA1PRNG_SecureRandomImpl.engineGenerateSeed(SHA1PRNG_SecureRandomImpl.java:247) at java.security.SecureRandom.generateSeed(SecureRandom.java:348) at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:363) at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:328) at com.integralblue.httpresponsecache.compat.libcore.net.http.HttpConnection.setupSecureSocket(HttpConnection.java:218) at com.integralblue.httpresponsecache.compat.libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.makeSslConnection(HttpsURLConnectionImpl.java:480) at com.integralblue.httpresponsecache.compat.libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.connect(HttpsURLConnectionImpl.java:435) at com.integralblue.httpresponsecache.compat.libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:293) at com.integralblue.httpresponsecache.compat.libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:243) at com.integralblue.httpresponsecache.compat.libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:84) at com.integralblue.httpresponsecache.compat.libcore.net.http.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:167)

@candrews
Copy link
Owner

What version of Android is the troublemaker device using?

@tprochazka
Copy link
Author

I looks like 2.3.5 only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants