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 182994 - [69cat] java.util.ConcurrentModificationException at java.util.LinkedList$ListItr.checkForComodification
Summary: [69cat] java.util.ConcurrentModificationException at java.util.LinkedList$Lis...
Status: RESOLVED DUPLICATE of bug 178439
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@platform
URL:
Keywords:
: 183013 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-27 13:38 UTC by timecode
Modified: 2010-04-02 17:04 UTC (History)
26 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 163389


Attachments
stacktrace (3.14 KB, text/plain)
2010-03-27 13:38 UTC, timecode
Details
stacktrace (3.14 KB, text/plain)
2010-03-28 04:05 UTC, claudio.lago
Details

Note You need to log in before you can comment on or make changes to this bug.
Description timecode 2010-03-27 13:38:45 UTC
Build: NetBeans IDE Dev (Build 201002152000)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025
OS: Mac OS X

User Comments:
jstevison: Launching the Application

GUEST: After 6.9 installation

charlweed: Opening project.

GUEST: opening netbeans

GUEST: This error occur sometimes when I open NetBeans.

mpetras: Just started the IDE.

GUEST: I typed an cyrillic literas("???") in css file, netbeans wrote constantly some strange error.
And now i just started nb, and there is this...

GUEST: just starting it up.

GUEST: Waiting for projects to load.

GUEST: called php configuration by right clicking on the project.. the configuration window crashed and was not able to get out of it.

GUEST: Starting the program

pete911: just installed netbeans, then downloaded jvi plugin (vim key shortcuts for netbeans), restarted netbeans. That's it

GUEST: i startet netbeans

GUEST: This problem came when i added some plugins to netbeans

GUEST: Just change Tools/Java platforms

GUEST: Started up the IDE

GUEST: i was launching netbeans.

GUEST: netbeans open with 2 rails projects.

timecode: OPening NetBeans

GUEST: Opened the program

GUEST: Just starting the IDE after setting up the bundled subversion client.

GUEST: Firts startup nof new build with empty  userdir

GUEST: initializing NetBeans

maghiel: Started this build of NetBeans for the second time with two project files open

alexey_vladykin: Just opened the IDE

charlweed: Starting Netbeans. 4 Projects open from previous session.

GUEST: Starting the IDE with opened php project

GUEST: Just opening ide for the first time today

claudio.lago: Two projects were open since last time I used the IDE. Now opening this exception has faced.

Opened projects:
- UML
- Java Web

tacomait: While starting netbeans Ide, I clicked on System.

GUEST: I just started Netbeans and the actual error windows showed up.

etiger13: Nothing. I opened Netbeans and let it sit for a minute then the error popped

vv159170: started IDE

GUEST: Opening NetBeans IDE 6.9M1

GUEST: invoked "Open Project" dialog

vv159170: started the IDE

GUEST: I started the IDE from start menu and got the error message

GUEST: Happened on startup




Stacktrace: 
java.util.ConcurrentModificationException
   at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:761)
   at java.util.LinkedList$ListItr.next(LinkedList.java:696)
   at org.openide.util.EditableProperties.addItem(EditableProperties.java:390)
   at org.openide.util.EditableProperties.put(EditableProperties.java:250)
   at org.netbeans.core.startup.preferences.NbPreferences.putSpi(NbPreferences.java:123)
   at java.util.prefs.AbstractPreferences.put(AbstractPreferences.java:234)
Comment 1 timecode 2010-03-27 13:38:52 UTC
Created attachment 96058 [details]
stacktrace
Comment 2 claudio.lago 2010-03-28 04:05:53 UTC
Created attachment 96087 [details]
stacktrace

Just opening NetBeans
Comment 3 Stanislav Aubrecht 2010-03-29 13:01:07 UTC
*** Bug 183013 has been marked as a duplicate of this bug. ***
Comment 4 Stanislav Aubrecht 2010-03-29 13:03:19 UTC
jesse, can you pls look at this issue?

javadoc says that java.util.prefs.Preferences is thread-safe, however the netbeans implementation uses org.openide.util.EditableProperties which isn't thread-safe
Comment 5 Jesse Glick 2010-03-31 03:47:13 UTC
Then it needs to synchronize.
Comment 6 Jesse Glick 2010-04-02 17:04:25 UTC

*** This bug has been marked as a duplicate of bug 178439 ***