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 130628 - java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification
Summary: java.util.ConcurrentModificationException at java.util.AbstractList$Itr.check...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
: 94397 154357 168565 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-20 12:19 UTC by unr303
Modified: 2010-10-08 12:44 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 38706


Attachments
ide log (190.57 KB, application/octet-stream)
2008-03-20 12:19 UTC, unr303
Details
stacktrace (2.03 KB, text/plain)
2008-08-29 09:28 UTC, Tomas Mysik
Details
stacktrace (2.03 KB, text/plain)
2008-09-05 08:42 UTC, mslama
Details
stacktrace (2.03 KB, text/plain)
2008-09-07 17:09 UTC, 007pig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description unr303 2008-03-20 12:19:12 UTC
Editing source near:
    /**
     * Устанавливает текущее значение ключа в справочнике.
     * @param object Редактируемый объект.
     * @param key Значение ключа.
     * @throws com.bftcom.fdt.model.DenyException
     * Если запись запрещена.
     * @throws com.bftcom.fdt.model.VetoException
     * Если значение неверно.
     */
    protected abstract void setKey(T object, Key key) throws DenyException,
            VetoException;

file encoding is utf-8.


Build: NetBeans IDE Dev (Build 20080320021041)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP, 5.1, x86
User comments: 
STACKTRACE: (first 10 lines)
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:416)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.drawGlobalStatus(AnnotationView.java:262)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:339)
        at javax.swing.JComponent.paint(JComponent.java:1027)
        at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
        at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
        at javax.swing.RepaintManager.paint(RepaintManager.java:1128)
        at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
Comment 1 unr303 2008-03-20 12:19:37 UTC
Created attachment 58740 [details]
ide log
Comment 2 Vitezslav Stejskal 2008-03-20 13:51:37 UTC
I assume this is random. Or do you happen to know how to reproduce this reliably?
Comment 3 Jiri Prox 2008-04-11 00:45:31 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 4 Tomas Mysik 2008-08-29 09:28:43 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Server VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Linux, 2.6.26-gentoo-r1, i386

User Comments: 


Stacktrace: 
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:416)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.drawGlobalStatus(AnnotationView.java:262)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:339)
        at javax.swing.JComponent.paint(JComponent.java:1027)
Comment 5 Tomas Mysik 2008-08-29 09:28:52 UTC
Created attachment 68606 [details]
stacktrace
Comment 6 mslama 2008-09-05 08:42:10 UTC
Build: NetBeans IDE Dev (Build 080902)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b30
OS: Linux, 2.6.24-21-generic, i386

User Comments: 
During editing java source

Stacktrace: 
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:419)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.drawGlobalStatus(AnnotationView.java:262)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:339)
        at javax.swing.JComponent.paint(JComponent.java:1027)
Comment 7 mslama 2008-09-05 08:42:14 UTC
Created attachment 69123 [details]
stacktrace
Comment 8 007pig 2008-09-07 17:09:17 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Linux, 2.6.26-ARCH, i386

User Comments: 
When i'm typing

Stacktrace: 
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:416)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.drawGlobalStatus(AnnotationView.java:262)
        at org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:339)
        at javax.swing.JComponent.paint(JComponent.java:1027)
Comment 9 007pig 2008-09-07 17:09:26 UTC
Created attachment 69249 [details]
stacktrace
Comment 10 Exceptions Reporter 2008-10-24 08:27:12 UTC
This issue has already 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=38706
Comment 11 Alexei Mokeev 2009-04-09 10:45:30 UTC
*** Issue 154357 has been marked as a duplicate of this issue. ***
Comment 12 Alexei Mokeev 2009-04-09 13:39:54 UTC
*** Issue 94397 has been marked as a duplicate of this issue. ***
Comment 13 Jan Lahoda 2010-08-27 06:59:58 UTC
Should be fixed:
http://hg.netbeans.org/main-silver?cmd=changeset;node=bc7995461bc5
Comment 14 Quality Engineering 2010-08-28 03:45:46 UTC
Integrated into 'main-golden', will be available in build *201008280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/bc7995461bc5
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #130628: trying to prevent ConcurrentModificationException.
Comment 15 Jan Becicka 2010-10-08 12:44:32 UTC
*** Bug 168565 has been marked as a duplicate of this bug. ***