java.lang.StringIndexOutOfBoundsException: length=0; regionStart=0; regionLength=1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by Omertron

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

,
Expert 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

Solutions on the web

via Stack Overflow by Asker McQuetion
, 2 years ago
length=0; regionStart=0; regionLength=1
via Stack Overflow by pash
, 2 years ago
via Stack Overflow by Dahnark
, 2 months ago
length=0; regionStart=0; regionLength=1
via Stack Overflow by Unknown author, 1 year ago
length=6; regionStart=0; regionLength=-1
java.lang.StringIndexOutOfBoundsException: length=0; regionStart=0; regionLength=1
at java.lang.String.startEndAndLength(String.java:593)
at java.lang.String.substring(String.java:1474)
at inco.aplicacion.safrapp.indecipherablecode.javacrear.CREARCODIGO(javacrear.java:61)
at inco.aplicacion.safrapp.indecipherablecode.javacrear.onCreate(javacrear.java:18)
at android.app.Activity.performCreate(Activity.java:5008)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)

Users with the same issue

2 times, 1 year ago
2 times, 1 year ago
59 times, 1 month ago
Once, 4 months ago
36 times, 5 months ago
109 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.