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 109313 - ConcurrentModificationException while typing in text file
Summary: ConcurrentModificationException while typing in text file
Status: RESOLVED DUPLICATE of bug 94397
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-07-11 01:56 UTC by matthies
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthies 2007-07-11 01:56:12 UTC
Happened on build 200707090000, JDK 1.6.0_02.

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.getMainMarkForBlockImpl
(AnnotationViewDataImpl.java:245)
	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.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1128)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:723)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Vitezslav Stejskal 2007-07-11 09:46:25 UTC
Is this reproducible? What file were you typing in? Plain text? Thanks
Comment 2 matthies 2007-07-11 13:38:16 UTC
So far this was the only occurrence. It was a plain text file (adding an entry to a changelog.txt file). I may have 
been switching windows just a second before and/or using keyboard shortcuts. I would suspect that threading is involved.
Comment 3 Vitezslav Stejskal 2007-10-12 15:12:59 UTC
I found a few other reports mentioning this as well. There really is something stinking in AnnotationViewDataImpl's
synchronization.

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