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.
NetBeans IDE Dev (Build 070123) 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03 Linux version 2.6.5-1.358 running on i386 en_US (nb); UTF-8 SIOOBE sometimes occurres when using smart CC to complete code behind new keyword. The scenario is not reliably reproducible, just happened to me several times (with different source files) but it worked ok when trying to reproduce. Steps to reproduce: 1) open attached file 2) goto line 179 3) call smart CC and select HashMap ->ava.lang.StringIndexOutOfBoundsException: String index out of range: 9450 at java.lang.String.substring(String.java:1765) at org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:1745) at org.netbeans.modules.java.source.save.CasualDiff.diffTopLevel(CasualDiff.java:217)
Created attachment 37594 [details] full stacktrace
Created attachment 37595 [details] test file
It happens to me also, occassionally. --- NetBeans IDE Dev (Build 070307) 1.6.0_01; Java HotSpot(TM) Server VM 1.6.0_01-b04 Linux version 2.6.12-1.1390_FC4smp running on i386 en_US (nb); UTF-8
I think it is again the duplicate, even though the stacktrace is little bit different. *** This issue has been marked as a duplicate of 97801 ***
v.