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"

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.

  • newRequestQueue Android's Volley crashes
    via Stack Overflow by Will Meyer
    ,
  • adding verse
    via GitHub by door43app
    ,
    • java.lang.StringIndexOutOfBoundsException: length=256; regionStart=0; regionLength=500 at java.lang.String.startEndAndLength(String.java:588) at java.lang.String.substring(String.java:1475) at test.com.test.MainActivity$1.onResponse(MainActivity.java:39) at test.com.test.MainActivity$1.onResponse(MainActivity.java:35) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:60) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:30) at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method)

    Users with the same issue

    Indri Yunita
    7 times, last one,
    Saravana Kumar Chinnaraj
    2 times, last one,
    Handemelindo
    1 times, last one,
    Casper
    8 times, last one,
    zsamboki
    1 times, last one,
    96 more bugmates