java.lang.StringIndexOutOfBoundsException

length=8; regionStart=0; regionLength=1106539617


Samebug tips2

You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web2420

Solution icon of github
via GitHub by mrbipbip
, 6 months ago
length=8; regionStart=0; regionLength=1106539617

Solution icon of github
length=7; regionStart=0; regionLength=8 - length=7; regionStart=0; regionLength=8 Exception : java.lang.StringIndexOutOfBoundsException: length=7; regionStart=0; regionLength=8

Solution icon of github
length=0; regionStart=7; regionLength=-8

Solution icon of github
length=8; regionStart=0; regionLength=101

Solution icon of github
via GitHub by liaolintao
, 3 months ago
length=8; regionStart=5; regionLength=-2

Solution icon of web
length=1388; regionStart=7; regionLength=-8

Solution icon of github
length=241; regionStart=238; regionLength=8

Solution icon of stackoverflow
via Stack Overflow by Dev01
, 1 year ago
length=8; regionStart=1; regionLength=29

Solution icon of github
via GitHub by mimi89999
, 1 year ago
length=0; regionStart=0; regionLength=3

Solution icon of github
via GitHub by Isgar
, 7 months ago
length=0; regionStart=0; regionLength=29

Stack trace

  • java.lang.StringIndexOutOfBoundsException: length=8; regionStart=0; regionLength=1106539617 at java.lang.String.startEndAndLength(String.java:588) at java.lang.String.substring(String.java:1475) at com.android.okhttp.internal.http.HeaderParser.parseCacheControl(HeaderParser.java:31) at com.android.okhttp.internal.http.ResponseHeaders.<init>(ResponseHeaders.java:146) at com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:139) at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:644) at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:347) at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:296) at com.android.okhttp.internal.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:179) at com.cedexis.androidradar.RadarSession.makeHttpRequest(SourceFile:110) at com.cedexis.androidradar.RadarSession.makeHttpRequest(SourceFile:126) at com.cedexis.androidradar.RadarProvider.gatherRadarProviders(SourceFile:100) at com.cedexis.androidradar.RadarSession.run(SourceFile:324) at com.cedexis.androidradar.RadarService.onHandleIntent(SourceFile:25) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.os.HandlerThread.run(HandlerThread.java:61)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

7 times, 4 months ago
2 times, 1 year ago
2 times, 3 weeks ago
2 times, 1 month ago
Once, 1 month ago
99 more bugmates