java.lang.StringIndexOutOfBoundsException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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

tip

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

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Found in the log file of a developer. local_webview.html attached. Marking as critical until we know it's benign. {code} !ENTRY com.aptana.editor.html 4 0 2011-08-04 12:13:03.994 !MESSAGE (Build 3.0.3.1312312167) [ERROR] An error occurred while indexing local_webview.html !STACK 0 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 org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.aptana.editor.html 4 0 2011-08-04 12:13:07.297 !MESSAGE (Build 3.0.3.1312312167) [ERROR] An error occurred while indexing local_webview.html !STACK 0 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$2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) 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$1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) 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) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}
    via by Ingo Muschenetz,
  • Found in the log file of a developer. local_webview.html attached. Marking as critical until we know it's benign. {code} !ENTRY com.aptana.editor.html 4 0 2011-08-04 12:13:03.994 !MESSAGE (Build 3.0.3.1312312167) [ERROR] An error occurred while indexing local_webview.html !STACK 0 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 org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.aptana.editor.html 4 0 2011-08-04 12:13:07.297 !MESSAGE (Build 3.0.3.1312312167) [ERROR] An error occurred while indexing local_webview.html !STACK 0 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$2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) 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$1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) 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) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}
    via by Ingo Muschenetz,
  • # Open Samples view; # Expand Titanium Mobile and choose "Kitchen Sink"; # Right-click and choose to import as a project; # After it completes, the following exception is seen in the log: {code} (Build 3.0.3.qualifier) [ERROR] An error occurred while indexing local_webview.html 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$2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) 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$1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) 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) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}
    via by Michael Xia,
  • # Open Samples view; # Expand Titanium Mobile and choose "Kitchen Sink"; # Right-click and choose to import as a project; # After it completes, the following exception is seen in the log: {code} (Build 3.0.3.qualifier) [ERROR] An error occurred while indexing local_webview.html 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$2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) 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$1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) 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) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}
    via by Michael Xia,
  • Comment parsing regression
    via GitHub by fordfrog
    ,
  • goto source throws assert
    via GitHub by vladimirk
    ,
    • 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 org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Users with the same issue

    Handemelindo
    1 times, last one,
    Casper
    8 times, last one,
    zsamboki
    1 times, last one,
    Pilleo
    1 times, last one,
    Unknown User
    36 times, last one,
    92 more bugmates