Bug 6848

Summary: Index out of range exception with New builder
Product: [Eclipse Project] JDT Reporter: John Arthorne <john.arthorne>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description John Arthorne CLA 2001-12-12 10:27:36 EST
This was reported on the newsgroup.  The report is by "ni bin" on Dec 11, 
8:14PM.  He or she only gives a stack trace, no more information.  This is in 
build 2001-12-06.  Here is the stack:

java.lang.StringIndexOutOfBoundsException: String index out of range: -19
 at java.lang.String.substring(String.java:1503)
 at java.lang.String.substring(String.java:1470)
 at
org.eclipse.jdt.internal.core.newbuilder.BuildNotifier.aboutToCompile(BuildN
otifier.java:54)
 at
org.eclipse.jdt.internal.core.newbuilder.AbstractImageBuilder.compile(Abstra
ctImageBuilder.java:185)
 at
org.eclipse.jdt.internal.core.newbuilder.AbstractImageBuilder.compile(Abstra
ctImageBuilder.java:148)
 at
org.eclipse.jdt.internal.core.newbuilder.BatchImageBuilder.build(BatchImageB
uilder.java:47)
 at
org.eclipse.jdt.internal.core.newbuilder.JavaBuilder.buildAll(JavaBuilder.ja
va:103)
 at
org.eclipse.jdt.internal.core.newbuilder.JavaBuilder.build(JavaBuilder.java:
61)
 at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:356)
 at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java
:818)
 at org.eclipse.core.runtime.Platform.run(Platform.java:395)
Comment 1 Kent Johnson CLA 2001-12-12 13:00:42 EST
This problem was fixed last week and released in the Dec. 11th drop.
Comment 2 Philipe Mulet CLA 2001-12-12 13:17:06 EST
Bug is actually closed, not fixed (fix was made earlier in 20011211).