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 Dev (Build 201003310201) VM: Java HotSpot(TM) 64-Bit Server VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b06 OS: Linux User Comments: jsedek: Open attached project, open newhtml2.html and invoke refactor/Extract inlined style -> NPE is thrown 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:1541) at org.openide.filesystems.FileUtil.getRelativePath(FileUtil.java:1315) at org.netbeans.modules.html.editor.refactoring.ExtractInlinedStylePanel$ExternalStyleSheetItem.<init>(ExtractInlinedStylePanel.java:486) at org.netbeans.modules.html.editor.refactoring.ExtractInlinedStylePanel.createExternalStylesheetsModel(ExtractInlinedStylePanel.java:392) at org.netbeans.modules.html.editor.refactoring.ExtractInlinedStylePanel.initComponents(ExtractInlinedStylePanel.java:272)
Created attachment 96451 [details] stacktrace
Created attachment 96452 [details] test project
Caused by the web maven project not providing the ProjectWebRootProvider in its lookup.
fixed in web-main#0e7f2128fb6f
Integrated into 'main-golden', will be available in build *201004131450* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0e7f2128fb6f User: Marek Fukala <mfukala@netbeans.org> Log: #183280 - NullPointerException: The folder parameter cannot be null
verified. NetBeans IDE Dev (Build 201004280200)