java.lang.StringIndexOutOfBoundsException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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


rprp
tip

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

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

  • StringIndexOutOfBoundsException
    via GitHub by mrbipbip
    ,
  • adding verse
    via GitHub by door43app
    ,
    • 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)

    Users with the same issue

    Indri YunitaIndri Yunita
    7 times, last one,
    Saravana Kumar ChinnarajSaravana Kumar Chinnaraj
    2 times, last one,
    HandemelindoHandemelindo
    1 times, last one,
    CasperCasper
    8 times, last one,
    zsambokizsamboki
    1 times, last one,
    96 more bugmates