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.
Build: NetBeans IDE 6.8 (Build 200912041610) VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.29.6, amd64 User Comments: rjdkolb: This project was a EJB maven project. I changed it to a Maven WAR project and then tried to create a JSF 2 page Stacktrace: java.lang.NullPointerException: The folder parameter cannot be null at org.openide.util.Parameters.notNull(Parameters.java:86) at org.openide.filesystems.FileUtil.isParentOf(FileUtil.java:1513) at org.openide.filesystems.FileUtil.getRelativePath(FileUtil.java:1287) at org.netbeans.modules.web.wizards.targetpanel.providers.WebTargetPanelProvider.getRelativeSourcesFolder(WebTargetPanelProvider.java:88) at org.netbeans.modules.web.wizards.targetpanel.providers.JSFTargetPanelProvider.getRelativeSourcesFolder(JSFTargetPanelProvider.java:65) at org.netbeans.modules.target.iterator.api.TargetChooserPanelGUI.getRelativeSourcesFolder(TargetChooserPanelGUI.java:191)
Created attachment 92807 [details] stacktrace
Changing the default owner to issues@javaee.
Steps to recreate in NB 6.8: 1) Create a new 'Maven EJB Module' 2) Edit pom.xml, change packaging to war 3) Right click on project, New JSF Page... 4) Exception as in the issue
http://hg.netbeans.org/web-main/rev/9b67da8a3439
thanks
Integrated into 'main-golden', will be available in build *201005280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9b67da8a3439 User: Alexey Butenko <alexeybutenko@netbeans.org> Log: #178914: NullPointerException: The folder parameter cannot be null