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.
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)
Created attachment 117919 [details] stacktrace
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.
fixed in web-main#85e7f093bac4
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