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.
Build: NetBeans IDE 7.0 (Build 201104080000) VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06 OS: Windows XP Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: -139 at java.lang.String.substring(String.java:1937) at org.netbeans.modules.hibernate.completion.CompletionContext.initContext(CompletionContext.java:212) at org.netbeans.modules.hibernate.completion.CompletionContext.<init>(CompletionContext.java:103) at org.netbeans.modules.hibernate.completion.HibernateMappingCompletionQuery.getCompletionItems(HibernateMappingCompletionQuery.java:94) at org.netbeans.modules.hibernate.completion.HibernateMappingCompletionQuery.query(HibernateMappingCompletionQuery.java:81) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:223)
Created attachment 108693 [details] stacktrace
can't reproduce, suppose it's either random or important details are missed. to P4 for now. May be some special combination copy-paste-type-delete before invocation during heavy load on ide/system. Please add any details especially if there is any case with 100% way to reproduce.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss