String index out of range: -12

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:

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

Solutions on the web4478

  • String index out of range: -12
  • via Google Groups by, 1 year ago
    String index out of range: -12
  • via Google Groups by tamil, 1 year ago
    String index out of range: -12
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String index out of range: -12 at java.lang.String.substring( at org.hsqldb.Table.setIndexRoots(Unknown Source) at org.hsqldb.DatabaseCommandInterpreter.processSet(Unknown Source) at org.hsqldb.DatabaseCommandInterpreter.executePart(Unknown Source) at org.hsqldb.DatabaseCommandInterpreter.execute(Unknown Source) at org.hsqldb.Session.sqlExecuteDirectNoPreChecks(Unknown Source) at org.hsqldb.scriptio.ScriptReaderText.readDDL(Unknown Source) at org.hsqldb.scriptio.ScriptReaderBase.readAll(Unknown Source) at org.hsqldb.Log.readScript(Unknown Source) at Source) at org.hsqldb.Logger.openLog(Unknown Source) at org.hsqldb.Database.reopen(Unknown Source) at Source) at org.hsqldb.DatabaseManager.getDatabase(Unknown Source) at org.hsqldb.DatabaseManager.newSession(Unknown Source) at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source) at org.hsqldb.jdbcDriver.getConnection(Unknown Source) at org.hsqldb.jdbcDriver.connect(Unknown Source)

    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, 4 days ago
    Once, 3 weeks ago
    Once, 3 weeks ago
    Once, 1 month ago
    8 times, 1 month ago
    94 more bugmates