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 179655 - IllegalArgumentException: Duplicate in children list: C:/Coding/www/EigenMuziek/sites/nederlandstalige-muziek/links.php Children: [C:\Coding\www\EigenMuziek\sites\nederlandstalige-muziek\.svn, C:\Codi
Summary: IllegalArgumentException: Duplicate in children list: C:/Coding/www/EigenMuzi...
Status: RESOLVED DUPLICATE of bug 182069
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-19 02:29 UTC by maghiel
Modified: 2010-06-15 23:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 164413


Attachments
stacktrace (4.04 KB, text/plain)
2010-01-19 02:29 UTC, maghiel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maghiel 2010-01-19 02:29:35 UTC
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)
Comment 1 maghiel 2010-01-19 02:29:39 UTC
Created attachment 93400 [details]
stacktrace
Comment 2 Jaroslav Tulach 2010-02-03 11:31:02 UTC
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?
Comment 3 Jesse Glick 2010-06-15 23:40:04 UTC

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