java.lang.StringIndexOutOfBoundsException

String ind ex out of range: -1

Samebug tips1

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


rprp

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

Solutions on the web2214

  • via Unknown by Subhash Sriram,
  • via Stack Overflow by D_K
    ,
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String ind ex out of range: -1 at java.lang.String.substring(Unknown Source) at java.lang.String.subSequence(Unknown Source) at java.util.regex.Matcher.getSubSequence(Unknown Source) at java.util.regex.Matcher.appendReplacement(Unknown Source) at Homework.processTest(Homework.java:90) at Homework.main(Homework.java:52)

    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

    PilleoPilleo
    2 times, last one
    oddodd
    Once,
    HandemelindoHandemelindo
    Once,
    CasperCasper
    8 times, last one
    zsambokizsamboki
    Once,
    72 more bugmates