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.1 (Build 201107282000) VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02-384, Java(TM) SE Runtime Environment, 1.6.0_26-b03-384-10M3425 OS: Mac OS X User Comments: FrantaM: - Start (java) project in debug mode. - Open any java class. - Add one line, do not "Apply code changes". - Right-mouse-click in the left side panel (line numbers) on a line with method/class decl. This line must be below the added one. GUEST: viewing source GUEST: I wanted to toggle a method breakpoint for a constructor. fsttesla: Right click over left-hand bar in Editor window, i.e. the one where breakpoints, errors, warnings and so on appear GUEST: Tried to remove a breakpoint by clicking right mouse button on it. Stacktrace: java.lang.NegativeArraySizeException at org.netbeans.editor.Annotations$LineAnnotations.getPasive(Annotations.java:1023) at org.netbeans.editor.Annotations.initMenu(Annotations.java:792) at org.netbeans.editor.Annotations.createMenu(Annotations.java:904) at org.netbeans.editor.Annotations.createPopupMenu(Annotations.java:727) at org.netbeans.editor.GlyphGutter$GutterMouseListener.showPopup(GlyphGutter.java:831) at org.netbeans.editor.GlyphGutter$GutterMouseListener.mousePressed(GlyphGutter.java:858)
Created attachment 111402 [details] stacktrace
Small fix: jet-main/rev/3d3750aab46d
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/3d3750aab46d User: Milutin Kristofic <mkristofic@netbeans.org> Log: #202947 - NegativeArraySizeException at org.netbeans.editor.Annotations$LineAnnotations.getPasive