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.

Bug 202461 - [71cat] AssertionError: o2=-1
Summary: [71cat] AssertionError: o2=-1
Status: RESOLVED DUPLICATE of bug 200469
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 22:08 UTC by alied
Modified: 2011-09-22 21:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 181289


Attachments
stacktrace (2.45 KB, text/plain)
2011-09-21 22:08 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2011-09-21 22:08:04 UTC
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)
Comment 1 alied 2011-09-21 22:08:09 UTC
Created attachment 110998 [details]
stacktrace
Comment 2 Jan Lahoda 2011-09-22 21:23:46 UTC

*** This bug has been marked as a duplicate of bug 200469 ***