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.
NPE after modifying the project sources: Steps to reproduce the error: 1. create a new web project 2. open project properties 3. in the sources section, remove the default source, named "Source Packages", and add a different folder. 4. click on OK to save your changes Then, the error will popup... Annotation: Exception occurred in Request Processor java.lang.NullPointerException: Must pass a non-null filename at org.netbeans.spi.project.support.ant.AntProjectHelper.resolveFileObject(AntProjectHelper.java:942) at org.netbeans.modules.web.project.ui.WebViews$LogicalViewChildren.getSources(WebViews.java:376) at org.netbeans.modules.web.project.ui.WebViews$LogicalViewChildren.getKeys(WebViews.java:366) at org.netbeans.modules.web.project.ui.WebViews$LogicalViewChildren.buildKeys(WebViews.java:172) at org.netbeans.modules.web.project.ui.WebViews$LogicalViewChildren.access$200(WebViews.java:87) at org.netbeans.modules.web.project.ui.WebViews$1.run(WebViews.java:358) at org.openide.util.Task.run(Task.java:189) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721)
Same steps to reproduce as in issue 56045. *** This issue has been marked as a duplicate of 56045 ***