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 45774 - OpenProjectListSettings needs to store List<URL> rather than List<File>
Summary: OpenProjectListSettings needs to store List<URL> rather than List<File>
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks: 41535 46759
  Show dependency tree
 
Reported: 2004-06-30 20:31 UTC by Jesse Glick
Modified: 2006-03-24 09:46 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 Jesse Glick 2004-06-30 20:31:11 UTC
We have a use case for remote projects. No need
for the project chooser to support them directly,
but if some are open, we should at least persist
them correctly. Currently OpenProjectList just calls

File root =
    FileUtil.toFile(p.getProjectDirectory());    
       
names.add(root.getPath());

which will of course throw an NPE for a remote
project.
Comment 1 Jesse Glick 2004-07-29 20:02:32 UTC
This is true of all storage of file paths except for the "last opened
project dir" which is filechooser-specific: open projects, main
project, recent projects.
Comment 2 Petr Hrebejk 2004-08-03 10:34:46 UTC
Checking in
projectui/src/org/netbeans/modules/project/ui/OpenProjectList.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/OpenProjectList.java,v
 <--  OpenProjectList.java
new revision: 1.17; previous revision: 1.16
done
Checking in
projectui/src/org/netbeans/modules/project/ui/OpenProjectListSettings.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/OpenProjectListSettings.java,v
 <--  OpenProjectListSettings.java
new revision: 1.9; previous revision: 1.8
done
Comment 3 Marian Mirilovic 2005-12-20 15:52:16 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.