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.

Bug 270573 - NullPointerException at org.netbeans.modules.web.jsf.editor.completion.JsfAttributesCompletionHelper.containsCCEntry
Summary: NullPointerException at org.netbeans.modules.web.jsf.editor.completion.JsfAtt...
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
Depends on:
Reported: 2017-05-05 12:16 UTC by roben
Modified: 2017-05-05 12:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 229064

stacktrace (2.59 KB, text/plain)
2017-05-05 12:16 UTC, roben

Note You need to log in before you can comment on or make changes to this bug.
Description roben 2017-05-05 12:16:32 UTC
This bug was originally marked as duplicate of bug 249847, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b16, Java(TM) SE Runtime Environment, 1.8.0_112-b16
OS: Mac OS X

User Comments:
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
 - in index.xhtml, try to iinvoke cc in position of ^
<ez:out ^ />

roben: This occured while editing a facelet and the auto completion for the message bundle popped up. Netbeans was not responsive for several seconds and the state showed "Downloading http javadoc". This happens nearly on a daily basis.

   at org.netbeans.modules.web.jsf.editor.completion.JsfAttributesCompletionHelper.containsCCEntry(
   at org.netbeans.modules.web.jsf.editor.completion.JsfAttributesCompletionHelper.completeAttributes(
   at org.netbeans.modules.web.jsf.editor.JsfHtmlExtension.completeAttributes(
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.query(
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery$
   at org.netbeans.editor.BaseDocument.render(
Comment 1 roben 2017-05-05 12:16:36 UTC
Created attachment 164258 [details]