java.lang.StringIndexOutOfBoundsException

String ind ex out of range: 2

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 web4430

  • via Oracle Community by 807592, 11 months ago
    String ind ex out of range: 2
  • via Stack Overflow by UnderDog
    , 1 year ago
    String ind ex out of range: -2
  • via Stack Overflow by Bjorn De Rijcke
    , 1 year ago
    String ind ex out of range: -2
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String ind ex out of range: 2 at java.lang.String.substring(String.java:1500) at Generator.FindCat(Generator.java:48) at Generator.Generate_Sentence(Generator.java:28) at Generator.main(Generator.java:16)

    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 hours ago
    2 times, 5 days ago
    Once, 3 weeks ago
    Once, 3 weeks ago
    Once, 1 month ago
    95 more bugmates