거의 발생하지 않지만 모든 빌드에서 2-3 명의 사용자 (매주 ~ 500 DAU)에서 3-5 일마다 충돌이 발생합니다. 그런 충돌에 대한 정보를 찾지 못했습니다. 그게 원인이야?okio.Base64.encode ArrayIndexOutOfBoundsException 왜 그런 일이 발생합니까?
나는 그런 문제에 대한 하나의 질문을 찾았지만 같이 삭제 "중복"https://stackoverflow.com/questions/45868217/arrayindexoutofboundsexception-trying-to-cache-certificate-list-in-okhttp3
Fatal Exception: java.lang.ArrayIndexOutOfBoundsException
length=1305; index=1953974520
okio.Base64.encode (Base64.java:137)
okio.Base64.encode (Base64.java:125)
okio.ByteString.base64 (ByteString.java:105)
okhttp3.Cache$Entry.writeCertList (Cache.java:686)
okhttp3.Cache$Entry.writeTo (Cache.java:645)
okhttp3.Cache.put (Cache.java:249)
okhttp3.Cache.access$000 (Cache.java:136)
okhttp3.Cache$1.put (Cache.java:148)
okhttp3.internal.cache.CacheInterceptor.maybeCache (CacheInterceptor.java:173)
okhttp3.internal.cache.CacheInterceptor.intercept (CacheInterceptor.java:143)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:92)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:67)
okhttp3.internal.http.BridgeInterceptor.intercept (BridgeInterceptor.java:93)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:92)
okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept (RetryAndFollowUpInterceptor.java:124)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:92)
okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain.java:67)
UPDATE :
이 문제를 이것에 대한 https://issuetracker.google.com/issues/69364976 구글 티켓 https://github.com/square/okio/issues/325 Okio 티켓 문제
업데이트 2 : 이 Android Studio 3.1에서 수정되었습니다. Canary 6 Build
질문을 downvote 경우 - 적어도 이유를 적어 둡니다. –
'나는 그러한 예외를 발견했습니다. ' 예외에 대해 말하면 적어도 어느 것이 언급되는지. – greenapps
https://github.com/square/okio/issues/325 –