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 110956, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201109202329) VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows XP User Comments: alied: Formatted the code in a @Entity class Stacktrace: java.lang.AssertionError: o2=-1 at org.netbeans.modules.editor.hints.AnnotationHolder$PositionComparator.compare(AnnotationHolder.java:1256) at java.util.Collections.indexedBinarySearch(Collections.java:377) at java.util.Collections.binarySearch(Collections.java:365) at org.netbeans.modules.editor.hints.AnnotationHolder.getPosition(AnnotationHolder.java:1038) at org.netbeans.modules.editor.hints.AnnotationHolder.setErrorDescriptionsImpl(AnnotationHolder.java:957) at org.netbeans.modules.editor.hints.AnnotationHolder.access$1400(AnnotationHolder.java:120)
Created attachment 110998 [details] stacktrace
*** This bug has been marked as a duplicate of bug 200469 ***