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 8.0 RC1 (Build 201402242200) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b69, Java(TM) SE Runtime Environment, 1.8.0-b127 OS: Windows 7 User Comments: markiewb: I do not know Stacktrace: java.lang.NullPointerException: The fo parameter cannot be null at org.openide.util.Parameters.notNull(Parameters.java:89) at org.openide.filesystems.FileUtil.isParentOf(FileUtil.java:1425) at org.openide.filesystems.FileUtil.getRelativePath(FileUtil.java:1195) at org.netbeans.modules.apisupport.project.ui.wizard.common.CreatedModifiedFiles$LayerModifications.getModifiedPaths(CreatedModifiedFiles.java:1138) at org.netbeans.modules.apisupport.project.ui.wizard.common.CreatedModifiedFiles.add(CreatedModifiedFiles.java:320) at org.netbeans.modules.apisupport.project.ui.wizard.layer.NewLayerIterator.createPanels(NewLayerIterator.java:63)
Created attachment 145994 [details] stacktrace
You are missing manifest.mf in your module when adding layer.xml file and that's why error occurred. Closing as WONTFIX.
This should not fail with a runtime exception - it should show error message that MANIFEST.MF is not found, at least. And generating a MANIFEST.MF isn't that hard either: you only have to have it contain Manifest-Version: 1.0 OpenIDE-Module-Layer: <path_to_layer.xml>
True there should be an error message, not failing with RTE. When creating new NB module, Manifest is created but here was probably manually deleted.
https://hg.netbeans.org/core-main/rev/4c04470286e6
Integrated into 'main-silver', will be available in build *201407190718* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4c04470286e6 User: Martin Kozeny <mkozeny@netbeans.org> Log: #242865: NullPointerException: The fo parameter cannot be null.