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 have created a web project from existing sources. It works fine for the first time. If I delete the project from net beans and try to create another project for the same set of src, web files any where in the drive, it throws an exception. The steps I am performing are : 1) Open the IDE, create a new project, choose web, choose "Create web app from existing sources". 2) Choose the directory where the src and web directories are present. 3) Go to the next step, everything gets filled (like src, web, lib). 4) Click on "Finish" it gives an exception. I have tried the following but of no use. 1) Delete the .netBeans directory from user home directory and try the above steps. 2) Delete the nbproject, build.xml files and then try the above steps. 3) Move src, web directories to a different location in the drive and try the above steps. This is really very pain ful and this is happening on both 5.0 and 5.5 beta 2 versions. It would be great and help if this can be resolved ASAP.
Created attachment 32422 [details] messages.log for Netbeans 5.0
It seems like you are using a strange build of nb 5.0. The build number 200601251500 does not correspond with what I see in cvs history. In revision 1.15 of org.netbeans.modules.tomcat5.WebappConfiguration which was created 2006/01/09 line 426 is empty! However, in rev 1.14 created on 2005/11/21 there was this code (lines 434-437): 1.12 (sherold 25-Aug-05): if (!modified) { 1.12 (sherold 25-Aug-05): SaveCookie cookie = (SaveCookie)contextDataObject.getCookie(SaveCookie.class); 1.12 (sherold 25-Aug-05): cookie.save(); 1.2 (rkubacki 21-May-03): } The class was later moved into org.netbeans.modules.tomcat5.config and this code was changed to (lines 520-525): 1.1.2.1 (sherold 11-Apr-06): if (!modified) { 1.1.2.1 (sherold 11-Apr-06): SaveCookie cookie = (SaveCookie)contextDataObject.getCookie(SaveCookie.class); 1.1.2.5 (sherold 13-Jul-06): if (cookie != null) { 1.1.2.5 (sherold 13-Jul-06): cookie.save(); 1.1.2.5 (sherold 13-Jul-06): } 1.1.2.1 (sherold 11-Apr-06): } Please try the latest build of NB 5.5 or the final build of nb 5.0.
*** This issue has been marked as a duplicate of 79495 ***