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 3093 - Explorer cannot stand shadowed directories.
Summary: Explorer cannot stand shadowed directories.
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All Linux
: P4 normal (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-08-04 01:56 UTC by Marian Petras
Modified: 2008-12-23 11:16 UTC (History)
0 users

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 Marian Petras 1999-08-04 01:56:42 UTC
1. Mount directory CPTest.
2. Select and copy directory "Startup".
3. Select directory "Development" of NetBeans.
4. Paste directory "Startup" - create link.
5. Restart NetBeans.
6. After restart, expand directory "CPTest" (root).

The exception below is displayed and only one node - "QA Website" - is displayed in the directory "CPTest".


7. Expand directory "Development" of NetBeans.

The directory "Startup" displayed is not the shadow directory of the original directory Startup, but it is "Startup" section from global settings of IDE.

Cause:
Shadow of the directory has bad representation on the disk - only name but not full path is written on the disk.

java.lang.NullPointerException:
	at org.openide.filesystems.AbstractFileSystem.findResource(AbstractFileSystem.java:124)
	at org.openide.filesystems.Repository.findResource(Repository.java:355)
	at org.openide.loaders.DataShadow.deserialize(DataShadow.java:108)
	at org.openide.loaders.DataLoaderPool$ShadowLoader.handleFindDataObject(DataLoaderPool.java:567)
	at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:133)
	at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:358)
	at org.openide.loaders.FolderList.createBoth(FolderList.java:362)
	at org.openide.loaders.FolderList.getObjects(FolderList.java:241)
	at org.openide.loaders.FolderList.getChildrenList(FolderList.java:140)
	at org.openide.loaders.DataFolder.getChildrenList(DataFolder.java:220)
	at org.openide.loaders.FolderChildren$1.run(FolderChildren.java:183)
	at org.openide.util.Task.run(Task.java:127)
	at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:402)
Comment 1 Marek Grummich 2000-07-25 09:24:59 UTC
Priority is changed to P4 (normal).
Comment 2 Marian Mirilovic 2002-04-19 15:44:44 UTC
verified.
Comment 3 Quality Engineering 2003-07-02 15:16:18 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.