java.lang.StringIndexOutOfBoundsException

String index out of range: -1

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"


rprp

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


rafaelrafael

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

Solutions on the web2406

  • via Unknown by dsheth,
  • via Unknown by dsheth,
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1938) at org.apache.tools.ant.launch.Locator.getResourceSource(Locator.java:122) at org.apache.tools.ant.launch.Locator.getClassSource(Locator.java:90) at org.apache.tools.ant.Project.setAntLib(Project.java:313) at org.apache.tools.ant.Project.initProperties(Project.java:309) at org.apache.tools.ant.Project.init(Project.java:295) at org.codehaus.cargo.util.AntUtils.createProject(AntUtils.java:149) at org.codehaus.cargo.util.AntUtils.<init>(AntUtils.java:55) at org.codehaus.cargo.util.DefaultFileHandler.<init>(DefaultFileHandler.java:75)

    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

    zsambokizsamboki
    Once,
    osvzsosvzs
    2 times, last one
    richard77richard77
    2 times, last one
    MoYaproMoYapro
    Once,
    kjhdofjosvskjhdofjosvs
    2 times, last one
    94 more bugmates