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 201501160001) VM: Java HotSpot(TM) Client VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17 OS: Linux User Comments: GUEST: Autocompletion vriha: To reproduce: - create a new Java Web project with JSF 2.2 - select the text in index.xhtml and convert it to Composite Component - open the composite component and replace its content with https://netbeans.org/bugzilla/attachment.cgi?id=151531 - in index.xhtml, try to iinvoke cc in position of ^ <ez:out ^ /> Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.jsf.editor.completion.JsfAttributesCompletionHelper.containsCCEntry(JsfAttributesCompletionHelper.java:201) at org.netbeans.modules.web.jsf.editor.completion.JsfAttributesCompletionHelper.completeAttributes(JsfAttributesCompletionHelper.java:176) at org.netbeans.modules.web.jsf.editor.JsfHtmlExtension.completeAttributes(JsfHtmlExtension.java:342) at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.query(HtmlCompletionQuery.java:485) at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery$1.run(HtmlCompletionQuery.java:134) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1386)
Created attachment 151540 [details] stacktrace
*** Bug 249840 has been marked as a duplicate of this bug. ***
Fixed in web-main 5a731d8285b2.
Integrated into 'main-silver', will be available in build *201506060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5a731d8285b2 User: Petr Hejl <phejl@netbeans.org> Log: #249847 - NullPointerException at org.netbeans.modules.web.jsf.editor.completion.JsfAttributesCompletionHelper.containsCCEntry