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"


,
via GitHub by Omertron

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


5 months ago
Expert tip

Solutions on the web199

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

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

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

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 web
length=1388; regionStart=7; regionLength=-8

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

Solution icon of github
via GitHub by austin-garrard
, 8 months ago
length=0; regionStart=0; regionLength=1

Solution icon of github
length=0; regionStart=0; regionLength=3

Solution icon of github
length=0; regionStart=0; regionLength=-1

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

10 times, 1 week ago
7 times, 6 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 5 days ago
Samebug visitor profile picture
Unknown user
Once, 5 days ago
107 more bugmates