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 18996 - Exception during file list change which results in a loader becoming invalid
Summary: Exception during file list change which results in a loader becoming invalid
Status: CLOSED DUPLICATE of bug 18785
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: phamernik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-03 04:59 UTC by Rochelle Raccah
Modified: 2008-12-22 16:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rochelle Raccah 2002-01-03 04:59:21 UTC
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)
Comment 1 _ ttran 2002-01-03 08:06:49 UTC
Yarda, your opinions?
Comment 2 Jaroslav Tulach 2002-01-03 08:24:14 UTC
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.

 
Comment 3 phamernik 2002-01-03 15:51:02 UTC
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 ***
Comment 4 Quality Engineering 2003-07-01 16:03:52 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 5 Quality Engineering 2003-07-01 16:23:41 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.