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.
This bug was originally marked as duplicate of bug 220110, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253) VM: Java HotSpot(TM) Client VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11 OS: Windows XP User Comments: crazyjavahacking: During regular code completion ender01: Trying to autocomplete in javadoc javydreamercsw: Deleting from a just pasted string. Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 70 at java.lang.String.substring(String.java:1907) at org.netbeans.modules.j2ee.persistence.editor.completion.JPACodeCompletionProvider.getCompletionTreePath(JPACodeCompletionProvider.java:321) at org.netbeans.modules.j2ee.persistence.editor.completion.JPACodeCompletionProvider.access$100(JPACodeCompletionProvider.java:91) at org.netbeans.modules.j2ee.persistence.editor.completion.JPACodeCompletionProvider$JPACodeCompletionQuery.run(JPACodeCompletionProvider.java:225) at org.netbeans.modules.j2ee.persistence.editor.completion.JPACodeCompletionProvider$JPACodeCompletionQuery.access$600(JPACodeCompletionProvider.java:106) at org.netbeans.modules.j2ee.persistence.editor.completion.JPACodeCompletionProvider$JPACodeCompletionQuery$Task.run(JPACodeCompletionProvider.java:293)
Created attachment 127988 [details] stacktrace
current code do not contain anything on 321 line, but it was there before 220110 fix. Likely beta branch have older code and it's fixed even exception reporter decide it's new one. *** This bug has been marked as a duplicate of bug 220110 ***
*** Bug 223955 has been marked as a duplicate of this bug. ***