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.
13 duplicates so far ... Build: NetBeans IDE 6.0 Beta 1 (Build 200709141330) VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06 OS: Windows XP, 5.1, x86 User comments: I had double-clicked on a word in my code ("textKit"). And then I pressed CTRL+F. Note: The word I was searching for also happened to be a class's field member that NetBeans believed to not be used. Though, it really is being used. STACKTRACE: (first 10 lines) java.util.NoSuchElementException at java.util.TreeMap.key(TreeMap.java:1206) at java.util.TreeMap$NavigableSubMap.firstKey(TreeMap.java:1431) at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.findNextUsedLine(AnnotationViewDataImpl.java:332) at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.getMainMarkForBlockImpl(AnnotationViewDataImpl.java:244) at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.getMainMarkForBlock(AnnotationViewDataImpl.java:225) at org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:283) at javax.swing.JComponent.paint(JComponent.java:1027) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1382) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1313)
I can't reproduce this. Does it happen regularly?
*** Issue 143415 has been marked as a duplicate of this issue. ***
GUEST: I had double-clicked on a word in my code ("textKit"). And then I pressed CTRL+F. Note: The word I was searching for also happened to be a class's field member that NetBeans believed to not be used. Though, it really is being used. GUEST: debugging drakemj: Just editing my code drakemj: Typing a comment in a class method. Argh. drakemj: Editing code that generated a warning. Can't see what the warning is, until I close this modal "Report Problem" window. drakemj: Typing code. I'm getting these exceptions every few minutes. Very annoying. drakemj: Typing code. I'm getting these exceptions every few minutes. Very annoying. drakemj: Pasted something into the code editor. Going for a netbeans exception record today drakemj: Replacing method parameter with a new value drakemj: added 2 spaces to a constant string in editor. GUEST: Editing a java file. benatidc: Typing backslashes into a literal quoted string GUEST: Adding a javadoc GUEST: using autocomplete wobster: editing code
Should be fixed by http://hg.netbeans.org/main/rev/9c5f965927b2
Reopening - reproduced in NetBeans IDE Dev (Build 200810011401)
It looks like it's not going to be that simple to fix.
We should fix this in 7.0
Should be fixed now. --- http://hg.netbeans.org/jet-main/rev/330aa89c8ff6
Integrated into 'main-golden', will be available in build *200904150201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/330aa89c8ff6 User: Max Sauer <msauer@netbeans.org> Log: #143414: NSEE o.n.m.editor.errorstripe.AnnotationViewDataImpl.findNextUsedLine
v/c