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 is related to some changes Yarda made a long time ago described in issue 8462. When the automatic file recognition triggering event is the addition of the other file, the following exception is seen: Wed Jan 02 20:49:17 PST 2002: java.lang.UnsupportedOperationException: <no message> java.io.IOException at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:230) at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:363) at org.openide.loaders.FolderList.createBoth(FolderList.java:576) at org.openide.loaders.FolderList.access$600(FolderList.java:43) at org.openide.loaders.FolderList$2.run(FolderList.java:259) at org.openide.util.Task.run(Task.java:152) [catch] at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:622) Wed Jan 02 20:49:18 PST 2002: java.lang.UnsupportedOperationException: <no message> java.lang.UnsupportedOperationException at java.util.Collections$5.remove(Collections.java:1706) at org.openide.loaders.DataObjectPool$Validator.revalidate(DataObjectPool.java:808) at org.openide.loaders.DataObjectPool.revalidate(DataObjectPool.java:160) at org.openide.loaders.MultiFileLoader.checkCollision(MultiFileLoader.java:158) at org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:81) at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:220) at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:363) at org.openide.loaders.FolderList.createBoth(FolderList.java:576) at org.openide.loaders.FolderList.access$600(FolderList.java:43) at org.openide.loaders.FolderList$2.run(FolderList.java:259) at org.openide.util.Task.run(Task.java:152) [catch] at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:622)
Yarda, your opinions?
I remember Petr Hamernik trying to fix similar bug by catching UnsuppOpEx on line 658, he probably has to catch the exception in this place too or rewrite the code not to use unmodifiable collection at all.
This bug is a duplicate of #18785. It is regression caused by bugfix #12136 (2001/12/13). Radek Matous and me are looking at it. *** This issue has been marked as a duplicate of 18785 ***
Resolved for 3.4.x or earlier, no new info since then -> verified
Resolved for 3.4.x or earlier, no new info since then -> closing.