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 162877

Summary: NullPointerException at org.netbeans.editor.ext.html.parser.AstNode.isResolved
Product: web Reporter: Marian Mirilovic <mmirilovic>
Component: HTML EditorAssignee: Marek Fukala <mfukala>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=149611
Issue Type: DEFECT Exception Reporter: 149611
Attachments: stacktrace

Description Marian Mirilovic 2009-04-16 20:05:10 UTC
Build: NetBeans IDE Dev (Build 200904160201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.27-11-generic, amd64

User Comments:
GUEST: edit html. not closed tags
<label>
<p>

GUEST: left alt + left shit + keyup



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.editor.ext.html.parser.AstNode.isResolved(AstNode.java:132)
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:123)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.root(HtmlParserResult.java:92)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.<init>(HtmlParserResult.java:81)
        at org.netbeans.modules.html.editor.gsf.HtmlGSFParser.parse(HtmlGSFParser.java:113)
        at org.netbeans.modules.html.editor.gsf.HtmlGSFParser.parse(HtmlGSFParser.java:74)
Comment 1 Marian Mirilovic 2009-04-16 20:05:22 UTC
Created attachment 80295 [details]
stacktrace
Comment 2 Marian Mirilovic 2009-04-16 20:08:23 UTC
I can't edit any (plain) html file in the IDE today ... every time I open html file and move mouse over editor IDE is
throwing this NPE again and again ...
Comment 3 Marek Fukala 2009-04-16 21:07:51 UTC
Already fixed

*** This issue has been marked as a duplicate of 162797 ***
Comment 4 Marian Mirilovic 2009-04-17 08:26:05 UTC
v/c