java.lang.StringIndexOutOfBoundsException: String index out of range: 2315

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

,

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.

,
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 Appcelerator JIRA by Michael Xia, 1 year ago
String index out of range: 2315
via Appcelerator JIRA by Michael Xia, 1 year ago
String index out of range: 2315
via Appcelerator JIRA by Ingo Muschenetz, 1 year ago
String index out of range: 2315
via Appcelerator JIRA by Ingo Muschenetz, 1 year ago
String index out of range: 2315
via Stack Overflow by Suniel
, 1 year ago
String index out of range: -1
via GitHub by tahaozket
, 1 year ago
String index out of range: -5
java.lang.StringIndexOutOfBoundsException: String index out of range: 2315
at java.lang.String.substring(String.java:1934)
at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.getText(JSFileIndexingParticipant.java:308)
at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processCommentNode(JSFileIndexingParticipant.java:266)
at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processComments(JSFileIndexingParticipant.java:256)
at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:196)
at com.aptana.editor.html.contentassist.index.HTMLFileIndexingParticipant.processHTMLSpecialNode(HTMLFileIndexingParticipant.java:136)
at com.aptana.editor.html.contentassist.index.HTMLFileIndexingParticipant.processNode(HTMLFileIndexingParticipant.java:152)
at com.aptana.editor.html.contentassist.index.HTMLFileIndexingParticipant.walkAST(HTMLFileIndexingParticipant.java:223)
at com.aptana.editor.html.contentassist.index.HTMLFileIndexingParticipant.indexFileStore(HTMLFileIndexingParticipant.java:261)
at com.aptana.index.core.AbstractFileIndexingParticipant.index(AbstractFileIndexingParticipant.java:139)
at com.aptana.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:423)
at com.aptana.index.core.IndexContainerJob.run(IndexContainerJob.java:100)
at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:206)
at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:115)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)

Users with the same issue

4 times, 1 month ago
4803 times, 1 month ago
3 times, 1 month ago
Once, 1 month ago
5 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.