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 249847 - NullPointerException at org.netbeans.modules.web.jsf.editor.completion.JsfAttributesCompletionHelper.containsCCEntry
Summary: NullPointerException at org.netbeans.modules.web.jsf.editor.completion.JsfAtt...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 249840 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-16 08:33 UTC by Vladimir Riha
Modified: 2015-06-06 07:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208128


Attachments
stacktrace (2.59 KB, text/plain)
2015-01-16 08:33 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-01-16 08:33:57 UTC
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)
Comment 1 Vladimir Riha 2015-01-16 08:33:59 UTC
Created attachment 151540 [details]
stacktrace
Comment 2 Vladimir Riha 2015-01-16 08:38:12 UTC
*** Bug 249840 has been marked as a duplicate of this bug. ***
Comment 3 Petr Hejl 2015-06-05 15:09:24 UTC
Fixed in web-main 5a731d8285b2.
Comment 4 Quality Engineering 2015-06-06 07:16:48 UTC
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