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 164674 - java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHashIterator.nextEntry
Summary: java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHa...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Strupl
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 11:35 UTC by rjt
Modified: 2010-04-20 08:15 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 147615


Attachments
stacktrace (3.02 KB, text/plain)
2009-05-07 11:35 UTC, rjt
Details
stacktrace (3.69 KB, text/plain)
2009-05-23 21:43 UTC, Exceptions Reporter
Details
stacktrace (3.20 KB, text/plain)
2009-10-02 13:12 UTC, Jan Becicka
Details
stacktrace (2.83 KB, text/plain)
2009-12-15 02:02 UTC, mslama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rjt 2009-05-07 11:35:54 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-11-generic, i386

User Comments:
sidlo: editing source code java

ddevore: modifying code in a unit test.

nbnathan: editing groovy code

rjt: Editing a PHP file.



Stacktrace: 
java.util.ConcurrentModificationException
        at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
        at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384)
        at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.computeTotalStatus(AnnotationViewDataImpl.java:424)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.drawGlobalStatus(AnnotationView.java:262)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:342)
        at javax.swing.JComponent.paint(JComponent.java:1027)
Comment 1 rjt 2009-05-07 11:35:59 UTC
Created attachment 81724 [details]
stacktrace
Comment 2 Vitezslav Stejskal 2009-05-11 10:00:34 UTC
Looks like a race condition.
Comment 3 Exceptions Reporter 2009-05-23 21:43:30 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-11-generic, i386

User Comments: 


Stacktrace: 
java.util.ConcurrentModificationException
        at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
        at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384)
        at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.computeTotalStatus(AnnotationViewDataImpl.java:424)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.drawGlobalStatus(AnnotationView.java:262)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:342)
        at javax.swing.JComponent.paint(JComponent.java:1027)
Comment 4 Exceptions Reporter 2009-05-23 21:43:34 UTC
Created attachment 82700 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-06-13 02:44:34 UTC
This issue already has 9 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=147615
Comment 6 Jan Becicka 2009-10-02 13:12:15 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux, 2.6.25.20-0.5-default, amd64

User Comments: 
Just typing in editor

Stacktrace: 
java.util.ConcurrentModificationException
        at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
        at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384)
        at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.computeTotalStatus(AnnotationViewDataImpl.java:424)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.drawGlobalStatus(AnnotationView.java:262)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:342)
        at javax.swing.JComponent.paint(JComponent.java:1029)
Comment 7 Jan Becicka 2009-10-02 13:12:19 UTC
Created attachment 88735 [details]
stacktrace
Comment 8 mslama 2009-12-15 02:02:12 UTC
Created attachment 92584 [details]
stacktrace
Comment 9 Exceptions Reporter 2010-04-12 13:57:25 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=147615
Comment 10 David Strupl 2010-04-19 14:52:03 UTC
I will look at this.
Comment 11 David Strupl 2010-04-20 08:15:17 UTC
http://hg.netbeans.org/jet-main/rev/1fff3d0793f7