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've attached the log file for the NPE reported as I tried to close a web project. This same error came up when I launched NB 4.1 (Q-build from 12-20-2004) with an existing web project previously left open in the IDE.
Created attachment 19417 [details] the message.log at the point where I received the NPE error
java.lang.NullPointerException at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties$PathParser.createWarIncludesMap(WebProjectProperties.java:917) at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties$PathParser.decode(WebProjectProperties.java:837) at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties$PropertyInfo.<init>(WebProjectProperties.java:694) at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties.read(WebProjectProperties.java:373) at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties.<init>(WebProjectProperties.java:238) at org.netbeans.modules.web.project.WebProject.getWebProjectProperties(WebProject.java:409) at org.netbeans.modules.web.project.WebProject$ProjectOpenedHookImpl.projectOpened(WebProject.java:621) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:49) [catch] at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:382) at org.netbeans.modules.project.ui.OpenProjectList.open(OpenProjectList.java:141) at org.netbeans.modules.project.ui.actions.OpenProject.actionPerformed(OpenProject.java:69)
This happens to projects created in NB 4.0 and opened in NB 4.1 EA. Will be fixed.
*** This issue has been marked as a duplicate of 52348 ***
Dear NB developers, This project - created in NB 4.0 - was a "Web Pjt w/existing sources". It didn't have many of the typical directories created when you build a new Web Pjt from scratch. I went through the pjt directory and altered/added directory names to conform with the structure created when building a web pjt de novo - e.g., test, making sure the web app directory is called "web", etc. Once I did this, the NPE disappeared. Thanks for help resolving this problem. Cheers, Bill Bug