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

Appcelerator JIRA | Michael Xia | 5 years ago
  1. 0

    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}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    java.lang.StringIndexOutOfBoundsException: String index out of range: 2315
  2. 0

    # 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}

    Appcelerator JIRA | 5 years ago | Michael Xia
    java.lang.StringIndexOutOfBoundsException: String index out of range: 2315
  3. 0

    # 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}

    Appcelerator JIRA | 5 years ago | Michael Xia
    java.lang.StringIndexOutOfBoundsException: String index out of range: 2315
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    java.lang.StringIndexOutOfBoundsException: String index out of range: 2315
  6. 0

    Exception: StringIndexOutOfBoundsException

    GitHub | 4 years ago | jamienich
    java.lang.StringIndexOutOfBoundsException: String index out of range: 422
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.StringIndexOutOfBoundsException

    String index out of range: 2315

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1934)
    1 frame
  3. com.aptana.editor
    HTMLFileIndexingParticipant.indexFileStore
    1. com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.getText(JSFileIndexingParticipant.java:308)
    2. com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processCommentNode(JSFileIndexingParticipant.java:266)
    3. com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processComments(JSFileIndexingParticipant.java:256)
    4. com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:196)
    5. com.aptana.editor.html.contentassist.index.HTMLFileIndexingParticipant.processHTMLSpecialNode(HTMLFileIndexingParticipant.java:136)
    6. com.aptana.editor.html.contentassist.index.HTMLFileIndexingParticipant.processNode(HTMLFileIndexingParticipant.java:152)
    7. com.aptana.editor.html.contentassist.index.HTMLFileIndexingParticipant.walkAST(HTMLFileIndexingParticipant.java:223)
    8. com.aptana.editor.html.contentassist.index.HTMLFileIndexingParticipant.indexFileStore(HTMLFileIndexingParticipant.java:261)
    8 frames
  4. com.aptana.index
    IndexContainerJob.run
    1. com.aptana.index.core.AbstractFileIndexingParticipant.index(AbstractFileIndexingParticipant.java:139)
    2. com.aptana.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:423)
    3. com.aptana.index.core.IndexContainerJob.run(IndexContainerJob.java:100)
    3 frames
  5. com.aptana.core
    UnifiedBuilder.build
    1. com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:206)
    2. com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:115)
    2 frames
  6. Core Resource Management
    BuildManager$2.run
    1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
    1 frame
  7. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  8. Core Resource Management
    BuildManager$1.run
    1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
    2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
    3. org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
    3 frames
  9. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  10. Core Resource Management
    AutoBuildJob.run
    1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
    2. org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
    3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
    4. org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
    5. org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
    5 frames
  11. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    1 frame