This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In build 20040913-2342 it started to happen that exception is thrown when a new project is created: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1444) at org.netbeans.modules.classfile.ClassName.initInternalName(ClassName.java:139) It is likely that it was caused by the last commit to ClassName class. Please, fix it ASAP because it blocks automated tests. Thanks. Build 20040913-2342, JDK1.4.2_05, Solaris9.
Created attachment 17603 [details] Entire stack trace
Created attachment 17604 [details] This is the correct stack trace. Please, disregard the previous one.
Workaround: Update classfile/src/org/netbeans/modules/classfile/ClassName.java back to revision 1.13.
Workaround applied to trunk. revision 1.14 of classfile/src/org/netbeans/modules/classfile/ClassName.java was rolled back.
Resolved.
Verified.
What automated tests does this block? I ran the refactoring and the commit-validation tests before doing the commit. Are there other test suites I need to run?
The commit-validation passed on windows but failed on linux and solaris.
Something else broke things then, as I only run Linux.
There is no StringIndexOutOfBoundsException in the trunk. Tomas Hurka already did a roolback.
Verified. Tom, if you have concerns about the commit-validation, I suggest to solve it off-line and keep this issue closed.