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 201003110200) VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04 OS: Windows XP User Comments: budgie67: After xml file was opened Stacktrace: java.lang.IllegalArgumentException: Duplicate in children list: D:/Users/Tomek/Moje dokumenty/NetBeansProjects/echo-sport-1.x/view/echo/userfiles/doc_images/_big/image-58.jpg Children: [MasterFileObject[D:\Users\Tomek\Moje dokumenty\NetBeansProjects\echo-sport-1.x\view\echo\userfiles\doc_images\_big\image-10.jpg@1c15cd0:14cdeb0,valid=true], MasterFileObject[D:\Users\Tomek\Moje dokumenty\NetBeansProjects\echo-sport-1.x\view\echo\userfiles\doc_images\_big\image-100.jpg@1b463c4:1da7e1b,valid=true], MasterFileObject[D:\Users\Tomek\Moje dokumenty\NetBeansProjects\echo-sport-1.x\view\echo\userfiles\doc_images\_big\image-101.jpg@209f2:190f782,valid=true], MasterFileObject[D:\Users\Tomek\Moje dokumenty\NetBeansProjects\echo-sport-1.x\view\echo\userfiles\doc_images\_big\image-102.jpg@1db0da5:b6377c,valid=true], MasterFileObject[D:\Users\Tomek\Moje dokumenty\NetBeansProjects\echo-sport-1.x\view\echo\userfiles\doc_images\_big\image-11.jpg@5ce11a:12c5383,valid=true], MasterFileObject[D:\Users\Tomek\Moje dokumenty\NetBean at org.openide.filesystems.Ordering.getOrder(Ordering.java:98) at org.openide.filesystems.FileUtil.getOrder(FileUtil.java:2044) at org.openide.loaders.FolderList.carefullySort(FolderList.java:640) at org.openide.loaders.FolderList.getObjects(FolderList.java:597) at org.openide.loaders.FolderList.access$200(FolderList.java:74) at org.openide.loaders.FolderList$1.run(FolderList.java:343)
Created attachment 95212 [details] stacktrace
Log file at #353266 exception report shows that there is duplicated item for image-58.jpg: [_big\image-58.jpg@1d7a25b:af47f8,valid=true] [_big\image-58.jpg@1e4230e:1cb05b9,valid=true] both hashcodes are different. This means that the file object itself is different: String mineHex = Integer.toHexString(System.identityHashCode(this)); as well as internal filename is different: String fnHex = Integer.toHexString(System.identityHashCode(getFileName())); I don't think there shall be two different name objects for the same file. So it seems to indicate the bug is in FileName cache(!?). CCing Radek Matouš.
*** Bug 180388 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201003190200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/691904c7af0a User: Jaroslav Tulach <jtulach@netbeans.org> Log: #182069: Ensuring access to nameMap is always under proper lock. Probably not full fix, but a step forward.
Looks fixed. No new report since the last improvement in synchronization.
*** Bug 179655 has been marked as a duplicate of this bug. ***