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.
This bug was originally marked as duplicate of bug 122295, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201001180201) VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04 OS: Windows 7, 6.1, x86 User Comments: maghiel: Was downloading files from FTP server (download continued while exception popped up) Stacktrace: java.lang.IllegalArgumentException: Duplicate in children list: C:/Coding/www/EigenMuziek/sites/nederlandstalige-muziek/links.php Children: [C:\Coding\www\EigenMuziek\sites\nederlandstalige-muziek\.svn, C:\Coding\www\EigenMuziek\sites\nederlandstalige-muziek\adult.php, C:\Coding\www\EigenMuziek\sites\nederlandstalige-muziek\explanation.php, C:\Coding\www\EigenMuziek\sites\nederlandstalige-muziek\index.php, C:\Coding\www\EigenMuziek\sites\nederlandstalige-muziek\links.php, C:\Coding\www\EigenMuziek\sites\nederlandstalige-muziek\links.php, C:\Coding\www\EigenMuziek\sites\nederlandstalige-muziek\tips.php] at org.openide.filesystems.Ordering.getOrder(Ordering.java:97) at org.openide.filesystems.FileUtil.getOrder(FileUtil.java:2053) at org.openide.loaders.FolderList.carefullySort(FolderList.java:635) at org.openide.loaders.FolderList.getObjects(FolderList.java:592) at org.openide.loaders.FolderList.access$200(FolderList.java:74) at org.openide.loaders.FolderList$1.run(FolderList.java:338)
Created attachment 93400 [details] stacktrace
Is this a joke. Jesse, as author of the assert in getOrder, can you explain why following code fails: Map<FileObject,DataObject> files = new LinkedHashMap<FileObject,DataObject>(l.size()); // anything List<FileObject> sorted = FileUtil.getOrder(files.keySet(), true); How can a keySet from a Map contain duplicates?
*** This bug has been marked as a duplicate of bug 182069 ***