java.lang.StringIndexOutOfBoundsException

String index out of range: -1 at java.lang.String.substring(String.java, Compiled Code)

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"


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

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

Solutions on the web4607

  • via Oracle Community by 3004, 11 months ago
    String index out of range: -1 at java.lang.String.substring(String.java, Compiled Code)
  • via Oracle Community by 3004, 1 year ago
    String index out of range: -1 at java.lang.String.substring(String.java, Compiled Code)
  • via Google Groups by Wayne Xin, 1 year ago
    String index out of range: -1 at java.lang.String.substring(String.java, Compiled Code)
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java, Compiled Code) at java.lang.String.substring(String.java:1459)

    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

    2 times, 2 days ago
    Once, 2 weeks ago
    Once, 3 weeks ago
    Once, 1 month ago
    8 times, 1 month ago
    94 more bugmates