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.
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.
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.
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
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.