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 23646 - ConcurrentModificationException thrown.
Summary: ConcurrentModificationException thrown.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-17 08:27 UTC by Jan Lahoda
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log. (11.56 KB, text/plain)
2002-05-17 08:28 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2002-05-17 08:27:28 UTC
Build 200205170100, JDK1.4fcs.
I did some changes to the code in the editor,
saved, and pressed Up arrow for a while. The
attached ConcurrentModificationException was thrown.
Comment 1 Jan Lahoda 2002-05-17 08:28:02 UTC
Created attachment 5793 [details]
IDE log.
Comment 2 Jan Becicka 2002-05-17 09:03:56 UTC
issue 23300 ?
Comment 3 Svata Dedic 2002-05-24 08:25:51 UTC
IMHO this is a bug in the Explorer/Node model; please reassign back if
I am wrong. I think such bug was already reported in the past month,
but I can't find out which it is.
Comment 4 David Strupl 2002-06-04 12:35:22 UTC
ListView problem?
Comment 5 _ ttran 2002-06-13 21:41:02 UTC
> at
org.openide.windows.TopComponent.setActivatedNodes(TopComponent.java:168)
	at >
org.netbeans.modules.java.JavaEditor$JavaEditorComponent.selectElementsAtOffset(JavaEditor.java:1029)

please don't call windowsystem from non-awt-event thread. 
Windowsystem is highly tied to Swing and must follow Swing thread rules.

reassigning to java module
Comment 6 Svata Dedic 2002-06-14 08:09:35 UTC
Thanks, Trung.
Comment 7 Tomas Hurka 2002-06-27 12:56:52 UTC
Fixed in trunk. 
JavaEditorComponent.selectElementsAtOffset() is now executed from
Swing thread.
Comment 8 Tomas Hurka 2002-06-27 12:59:25 UTC
/cvs/java/src/org/netbeans/modules/java/JavaEditor.java,v  <-- 
JavaEditor.java
new revision: 1.126; previous revision: 1.125
done
Comment 9 Jan Becicka 2002-06-27 15:50:10 UTC
VERIFIED
Comment 10 Quality Engineering 2003-07-01 13:18:37 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.