Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Thrown by the methods of the String class to indicate that an index is either negative, or greater than the size of the string itself. You are probably using the wrong index when accessing substring of the array.

  2. ,
    via GitHub by Omertron

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

Solutions on the web

via openas2 by jim-c
, 1 year ago
via Google Groups by SamuelXiao, 9 months ago
String index out of range: -1
via Oracle Community by 3004, 10 months ago
via Google Groups by Christian Völker, 9 months ago
via Sakai JIRA by Ivan Masár, 2 years ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -1** at java.lang.String.substring(Unknown Source) at org.openas2.logging.EmailLogger.getSubject(Unknown Source) at org.openas2.logging.EmailLogger.doLog(Unknown Source) at org.openas2.logging.BaseLogger.log(Unknown Source) at org.openas2.logging.LogManager.log(Unknown Source) at org.openas2.logging.Log.error(Unknown Source) at org.openas2.logging.Log.error(Unknown Source) at org.openas2.processor.sender.AS2SenderModule.sendMessage(Unknown Source) at org.openas2.processor.sender.AS2SenderModule.handle(Unknown Source) at org.openas2.processor.DefaultProcessor.handle(Unknown Source) at org.openas2.processor.receiver.DirectoryPollingModule.processFile(Unknown Source) at org.openas2.processor.receiver.DirectoryPollingModule.updateTracking(Unknown Source) at org.openas2.processor.receiver.DirectoryPollingModule.poll(Unknown Source) at org.openas2.processor.receiver.PollingModule$PollTask.run(Unknown Source) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source)