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 was creating a new project with existing source and then the next exception was generated. java.lang.NullPointerException at org.openide.filesystems.FileUtil.toFile(FileUtil.java:299) at org.netbeans.modules.j2ee.deployment.config.ConfigurationStorage.getSaveFiles(ConfigurationStorage.java:143) at org.netbeans.modules.j2ee.deployment.config.ConfigurationStorage.save(ConfigurationStorage.java:163) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.setWebContextRoot(ConfigSupportImpl.java:148) at org.netbeans.modules.web.project.ProjectWebModule.setContextPath(ProjectWebModule.java:82) at org.netbeans.modules.web.project.ui.wizards.ImportWebProjectWizardIterator.instantiate(ImportWebProjectWizardIterator.java:134) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:549) at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:465) at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:351) at org.netbeans.modules.project.ui.actions.NewProject.actionPerformed(NewProject.java:75) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5100) at java.awt.Component.processEvent(Component.java:4897) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
I think this issue is transient during the last few day code change in this area. The ConfigureationStorage.getSaveFiles() code in the stack is out of date. I am closing this issue as fixed. Please try it out again. Thanks.