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.
I just restarted a current trunk build. Since I had last used my userdir, I had deleted the checkout where the last opened project was. The result was numerous NPEs on startup, a bunch of open editor tabs with no contents, all of which were marked modified, missing Projects and Files tabs in Explorer, etc. Pretty messy - in fact it required deleting the user dir to make the IDE usable again.
Deleted files should not be opened in the editor regardless of project support - if this is broken, please file a separate bug in openide/text as it has nothing to do with the project system. Certainly the project tab's deser code is supposed to handle projects which no longer exist on disk. Will leave it to Petr to evaluate.
Tim, I looked at the exceptions and they are all about JavaEditor windows. The Project/Files tabs should handle the deleted projects gracefully. Moving the bug back to you to reassin to editor or Java or whatever you think is appropriate. Or mark it as INVALID and create new issue. (Btw just restarting the IDE was quite enoug for me to fix the problem)
Tim claims the Projects and Files tabs were missing in the Explorer. True? Reproducible?
Not reproducible with the J2SE project type; maybe specific to the netbeans module project type? (I don't feel like deleting my check-out at the moment to try to reproduce)
No info to reproduce.
closed