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 214805 - AssertionError: o2=-1
Summary: AssertionError: o2=-1
Status: RESOLVED DUPLICATE of bug 200469
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on: 204434
Blocks:
  Show dependency tree
 
Reported: 2012-06-26 14:56 UTC by Exceptions Reporter
Modified: 2012-07-12 07:05 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 190100


Attachments
stacktrace (2.42 KB, text/plain)
2012-06-26 14:56 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-06-26 14:56:37 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 7.1 Beta (Build 201109252201)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

User Comments:
GUEST: Attempted to attach java doc for javafx 2 on mac and subsequently get this when moving the cursor.

GUEST: Showed up while Editing and refactoring

GUEST: just copy and pasted a code almost similar to the one i copied.

GUEST: I was coding a servlet in my web application when this error popped out! To be more precise, I was working with SQL statements..

I got another problem too... the ALTER TABLE statement in Derby does not execute at all....

lujop: Copy paste from one class two another. It seems that autoimport is playing some role in the error

GUEST: Editing problems. happens continuously, after 
Had to restart IDE,

GUEST: I was pulling a git repo

GUEST: Editing problem. Intermittently pops up.

GUEST: craete junittest from tools. the junit exists allready

GUEST: Just editing some java code

GUEST: While opening refactoring menu. -sguha

GUEST: While editing, fixing syntax problems.




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:319)
   at java.util.Collections.binarySearch(Collections.java:307)
   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 Exceptions Reporter 2012-06-26 14:56:42 UTC
Created attachment 121387 [details]
stacktrace
Comment 2 Jan Lahoda 2012-07-12 07:04:50 UTC

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