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 242110 - NullPointerException at org.netbeans.modules.html.editor.lib.api.elements.ElementUtils.getPossibleCloseTags
Summary: NullPointerException at org.netbeans.modules.html.editor.lib.api.elements.Ele...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-19 17:52 UTC by nicu2005
Modified: 2014-07-25 02:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 202837


Attachments
stacktrace (2.42 KB, text/plain)
2014-02-19 17:52 UTC, nicu2005
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nicu2005 2014-02-19 17:52:46 UTC
Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 7

User Comments:
GUEST: Creating a jsp page with old style table elements inside of tr inside of table... and getting rid of unnecessary table tags or trying to

GUEST: Typing a new  <tr> into html in  a jsp file.

GUEST: Same thing as I was doiong organize tags in html in a jsp file...

nicu2005: try to autocomplete a tag in xhtml editor

GUEST: adding some jstl to jsp page

nicu2005: working in editor with a xhtml file and close a </li> tag ...




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.html.editor.lib.api.elements.ElementUtils.getPossibleCloseTags(ElementUtils.java:143)
   at org.netbeans.modules.html.parser.Html5Parser$Html5ParserResult.getPossibleCloseTags(Html5Parser.java:204)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.getPossibleEndTags(HtmlCompletionQuery.java:714)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.getPossibleEndTags(HtmlCompletionQuery.java:707)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.query(HtmlCompletionQuery.java:463)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery$1.run(HtmlCompletionQuery.java:134)
Comment 1 nicu2005 2014-02-19 17:52:49 UTC
Created attachment 145410 [details]
stacktrace
Comment 2 Marek Fukala 2014-07-24 09:30:46 UTC
changeset:   276042:a601ad7e283d
summary:     #242110 - NullPointerException at org.netbeans.modules.html.editor.lib.api.elements.ElementUtils.getPossibleCloseTags
Comment 3 Quality Engineering 2014-07-25 02:35:51 UTC
Integrated into 'main-silver', will be available in build *201407250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a601ad7e283d
User: Marek Fukala <mfukala@netbeans.org>
Log: #242110 - NullPointerException at org.netbeans.modules.html.editor.lib.api.elements.ElementUtils.getPossibleCloseTags