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 210792 - NullPointerException at org.netbeans.modules.html.editor.lib.html4parser.AstNodeUtils.getPossibleOpenTagElements
Summary: NullPointerException at org.netbeans.modules.html.editor.lib.html4parser.AstN...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-06 04:47 UTC by fortruth
Modified: 2012-04-19 15:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186734


Attachments
stacktrace (2.32 KB, text/plain)
2012-04-06 04:47 UTC, fortruth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fortruth 2012-04-06 04:47:50 UTC
Build: NetBeans IDE Dev (Build 201204030400)
VM: OpenJDK 64-Bit Server VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_24-b24
OS: Linux

User Comments:
fortruth: when type jstl <c:if at the position <c .  it happened.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.html.editor.lib.html4parser.AstNodeUtils.getPossibleOpenTagElements(AstNodeUtils.java:232)
   at org.netbeans.modules.html.editor.lib.html4parser.AstNodeUtils.getPossibleOpenTagElements(AstNodeUtils.java:176)
   at org.netbeans.modules.html.editor.lib.html4parser.DefaultHtmlParser$1.getPossibleOpenTags(DefaultHtmlParser.java:119)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.query(HtmlCompletionQuery.java:409)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery$1.run(HtmlCompletionQuery.java:140)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1343)
Comment 1 fortruth 2012-04-06 04:47:56 UTC
Created attachment 117919 [details]
stacktrace
Comment 2 Marek Fukala 2012-04-06 13:56:56 UTC
I cannot reproduce it. Could you please specify in what file type? (jsp, jsf, facelets or other?) If possible please attach a sample code with steps to reproduce.
Comment 3 Marek Fukala 2012-04-11 10:10:22 UTC
fixed in web-main#85e7f093bac4
Comment 4 Quality Engineering 2012-04-12 10:01:54 UTC
Integrated into 'main-golden', will be available in build *201204120400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/85e7f093bac4
User: Marek Fukala <mfukala@netbeans.org>
Log: #210792 - NullPointerException at org.netbeans.modules.html.editor.lib.html4parser.AstNodeUtils.getPossibleOpenTagElements