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 252887 - java.util.ConcurrentModificationException at java.util.Vector$Itr.checkForComodification
Summary: java.util.ConcurrentModificationException at java.util.Vector$Itr.checkForCom...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-09 05:15 UTC by _ tboudreau
Modified: 2016-11-19 21:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 192844


Attachments
stacktrace (4.90 KB, text/plain)
2015-06-09 05:15 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2015-06-09 05:15:03 UTC
Build: NetBeans IDE Dev (Build NetBeans-742-on-20150508)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
tboudreau: Open project




Stacktrace: 
java.util.ConcurrentModificationException
   at java.util.Vector$Itr.checkForComodification(Vector.java:1184)
   at java.util.Vector$Itr.next(Vector.java:1137)
   at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.cancelRunnables(BasicDirectoryModel.java:340)
   at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.cancelRunnables(BasicDirectoryModel.java:346)
   at javax.swing.plaf.basic.BasicDirectoryModel.validateFileCache(BasicDirectoryModel.java:135)
   at javax.swing.plaf.basic.BasicDirectoryModel.propertyChange(BasicDirectoryModel.java:69)
Comment 1 _ tboudreau 2015-06-09 05:15:05 UTC
Created attachment 154116 [details]
stacktrace
Comment 2 Jesse Glick 2016-11-19 21:38:09 UTC
Seems like a JRE bug to me. Calling `JFileChooser.setSelectedFiles` from the EQ thread, should be safe.