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.
040729 but for a long time before too. It seems that the list of recent projects is not saved between IDE sessions. The menu item is always disabled when I start the IDE. There seems to be persistence code in OpenProjectList and OpenProjectListSettings. Not working?
Guessing that because I run Linux, the save method stores projectDirectory.getPath() (e.g. "home/jglick/prjs/foo") and the load method calls new File(path) which of course does not work. On Windows it may work by accident, assuming new File("d:/projects/foo") works despite the incorrect separator. Store URLs please.
*** Issue 46803 has been marked as a duplicate of this issue. ***
*** Issue 46812 has been marked as a duplicate of this issue. ***
Especially bad on Macs where the cwd is '/', since it starts to work but then fails with a runtime exception. Even worse, OPL.gD does INSTANCE.openProjects = loadProjectList(); without any checking for runtime exceptions, so if there is any kind of persistence problem such as in issue #46812 which causes a runtime exception, the whole OPL cannot be loaded and the IDE is totally broken. Needs to be made more robust.
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