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 (Build 201403101706) VM: Java HotSpot(TM) Client VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132 OS: Linux User Comments: vriha: Fixing namespaces in JSF 2.2 project, (code from http://services.netbeans.org/synergy/client/app/#/case/5209/suite/1382/v/1 ) Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.jsf.editor.actions.FixNamespacesPerformer.removeUnusedNamespaces(FixNamespacesPerformer.java:101) at org.netbeans.modules.web.jsf.editor.actions.FixNamespacesPerformer.access$200(FixNamespacesPerformer.java:62) at org.netbeans.modules.web.jsf.editor.actions.FixNamespacesPerformer$1.run(FixNamespacesPerformer.java:90) at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:321) at org.netbeans.modules.web.jsf.editor.actions.FixNamespacesPerformer.perform(FixNamespacesPerformer.java:82) at org.netbeans.modules.web.jsf.editor.actions.FixNamespacesAction.performFixNamespaces(FixNamespacesAction.java:173)
Created attachment 145952 [details] stacktrace
*** Bug 242950 has been marked as a duplicate of this bug. ***
Created attachment 147288 [details] stacktrace Added pm (primefaces mobile) component and attempt to Fix Namespaces of the Facelet: My steps were: 1, <pm:page></pm:page> into editor 2, Fix namespaces, choose PF mobile and confirm
Caused likely by invoke Fix Namespaces action over the non-xhtml page (like in case of the primefaces welcome page).
Fixing of this was not so trivial as it could looks like. :) Please give it some testing whether it will work well to you then. Thanks a lot. Fixed in web-main #1777f7d2024f.
Integrated into 'main-silver', will be available in build *201405250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1777f7d2024f User: Martin Fousek <marfous@netbeans.org> Log: #242795 - NullPointerException at org.netbeans.modules.web.jsf.editor.actions.FixNamespacesPerformer.removeUnusedNamespaces
Thank you, I tried and found issue 244810. I don't know if it's related to this fix but it works in 8.0
Ok, I'll take a look later. In any case, thanks for testing that!
Thank you