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 94397 - ConcurrentModificationException from errorstripe
Summary: ConcurrentModificationException from errorstripe
Status: RESOLVED DUPLICATE of bug 130628
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: RANDOM
: 99941 103816 105809 109313 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-05 15:37 UTC by ehucka
Modified: 2009-04-09 13:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
GuardedException when following the steps (2.91 KB, text/plain)
2007-02-05 23:19 UTC, Vitezslav Stejskal
Details
full stacktrace (1.79 KB, text/plain)
2007-08-16 12:52 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2007-02-05 15:37:46 UTC
NetBeans IDE Dev (Build 200702041900)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Linux version 2.6.16-1.2122_FC5 running on i386

I cannot reproduce the exception. As I remember I had clicked to editor window
few times before the exception occured.

java.util.ConcurrentModificationException
        at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
        at java.util.AbstractList$Itr.next(AbstractList.java:343)
        at
org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.computeTotalStatus(AnnotationViewDataImpl.java:427)
        at
org.netbeans.modules.editor.errorstripe.AnnotationView.drawGlobalStatus(AnnotationView.java:234)
        at
org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:311)
        at javax.swing.JComponent.paint(JComponent.java:1022)
        at javax.swing.JComponent.paintToOffscreen(JComponent.java:5104)
        at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1386)
        at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1317)
        at
javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:301)
        at javax.swing.RepaintManager.paint(RepaintManager.java:1132)
        at javax.swing.JComponent._paintImmediately(JComponent.java:5052)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4862)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:727)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:683)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:663)
        at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
Comment 1 Vitezslav Stejskal 2007-02-05 23:17:57 UTC
There is actually one more exception, which I think shows the culprit. Attaching.
Comment 2 Vitezslav Stejskal 2007-02-05 23:19:12 UTC
Created attachment 38072 [details]
GuardedException when following the steps
Comment 3 Vitezslav Stejskal 2007-02-05 23:21:54 UTC
Bugger that, wrong issue, sorry.
Comment 4 Vitezslav Stejskal 2007-03-19 22:58:06 UTC
Ok, we'll have a look, probably some synchronization problem.
Comment 5 Vitezslav Stejskal 2007-05-14 05:05:37 UTC
*** Issue 103816 has been marked as a duplicate of this issue. ***
Comment 6 Jiri Prox 2007-07-11 09:19:34 UTC
*** Issue 99941 has been marked as a duplicate of this issue. ***
Comment 7 Petr Hrebejk 2007-08-03 18:22:04 UTC
Does this still happen. Anyone some steps to reproduce.
Comment 8 ehucka 2007-08-03 21:49:46 UTC
I have not seen it for a long time.
Comment 9 Jiri Prox 2007-08-16 12:50:39 UTC
I've got today when I pasted fragment of code to the file under cvs. Unfortunately I cannot reproduce it, after undo and
redo no exception has occurred.
Attaching new stacktrace since the line numbers are a little bit different.


Product Version: NetBeans IDE Dev (Build 070816) Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 System:
Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb) Userdir: /home/jp159440/.netbeans/dev
Comment 10 Jiri Prox 2007-08-16 12:52:01 UTC
Created attachment 46739 [details]
full stacktrace
Comment 11 Vitezslav Stejskal 2007-10-12 15:12:59 UTC
*** Issue 109313 has been marked as a duplicate of this issue. ***
Comment 12 Vitezslav Stejskal 2007-10-12 15:17:40 UTC
*** Issue 105809 has been marked as a duplicate of this issue. ***
Comment 13 Jiri Prox 2008-04-11 00:41:38 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 14 Alexei Mokeev 2009-04-09 13:39:55 UTC
Stacktrace is very similar to 130628. Looks like the same problem of sync between AnnotationViewDataImpl.getMergedMarks
and AnnotationViewDataImpl.computeTotalStatus. Since 130628 has bunch of more recent stack traces closing this as a dup
of it. 

*** This issue has been marked as a duplicate of 130628 ***