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.
create a project, play with it, then go to files view and delete the nbproject folder... See the result. You will get a number of NPEs etc. Tested with web project and j2se project. Maybe it should not be allowed to delete nbproject or the project should first be closed. In any way it requires special handling.
Yes, this is problem, but not P2. Honestly, my first thought was that it is WONTFIX. Is not this user's problem? They should know what they are doing. There is online help explaining importance of these files.
Agreed. "When I open the About box of SuperPro SpreadSheet GL+ and press Ctrl-Alt-Shift-F12 three times, my system crashes!" "Well don't do that then."
crashes are not acceptable in Java... That's why it's a virtual machine. So next real scenario: after a cvs update, the content of the nbproject in entirely in conflict mode... Same NPE? I did not try, but this is a rela enterprise scenarion. If I don;t have a good answer, I'll move back to P2.
If the system is unable to recover after there are merge conflicts in nbproject/, that is of course more serious. Note however that there are various enhancements that are not planned for 4.0 in the area of validating nbproject contents before opening, which would probably apply also to changes made while the project is open (or otherwise loaded). Already filed separately.
Cf. also #42422.
*** Issue 51873 has been marked as a duplicate of this issue. ***
At the recent NB 5.5 Q build (netbeans-5_5-qbuild-bin-200608181330-windows-18_Aug_2006_1330.exe), if you click Open Project for an enterprise app that doesn't have an nbproject directory, NB hangs completely with the message "EAR?????" in the dialog. I have to kill NB with a 3-fingered salute in order to get out. This seems unacceptable from a user's point of view. (How this happened is that I got mixed up between being able to delete build-impl.xml and have NB regenerate it, and being able to delete the whole nbproject directory. You really have to expect users to be this stupid, you know, if you have any pretensions to building a robust user interface.)
tried with latest 6.1 build (Feb 14). created a j2se application, in Files view deleted the nbproject directory. No exceptions. closing as fixed.