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.
I had some code with one extra closing parenthesis and when I deleted it, following AE was thrown: java.lang.AssertionError at org.netbeans.modules.editor.hints.AnnotationHolder$PositionComparator.compare(AnnotationHolder.java:909) at java.util.Collections.indexedBinarySearch(Collections.java:319) ... It repeated also when I tried to reformat code. However, when I tried to reproduce, I didn't succeed. Maybe you will find the cause in attached stacktrace. ---- Product Version: NetBeans IDE Dev (Build 200707250000
*** Issue 110955 has been marked as a duplicate of this issue. ***
Created attachment 45677 [details] Exception Stacktrace
*** Issue 111026 has been marked as a duplicate of this issue. ***
Steps to reproduce: 1) turn on all braces hint 2) create class: public class Test { public Test() { if(true) System.out.println("d"); } } -> there is hint suggesting adding braces to if() 3) select whole body of class - e.g all between first { and last } 4) press delete
*** Issue 111068 has been marked as a duplicate of this issue. ***
Should be fixed: Checking in AnnotationHolder.java; /cvs/editor/hints/src/org/netbeans/modules/editor/hints/AnnotationHolder.java,v <-- AnnotationHolder.java new revision: 1.18; previous revision: 1.17 done
*** Issue 110970 has been marked as a duplicate of this issue. ***
*** Issue 111170 has been marked as a duplicate of this issue. ***
Verified in Build 200707250000
*** Issue 111307 has been marked as a duplicate of this issue. ***
*** Issue 111203 has been marked as a duplicate of this issue. ***