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
URL:
Keywords:
Depends on:
Blocks:
 
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


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

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 https://netbeans.org/bugzilla/attachment.cgi?id=151531
 - 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.




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:177)
   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:1421)
Comment 1 roben 2017-05-05 12:16:36 UTC
Created attachment 164258 [details]
stacktrace