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 188953

Summary: IllegalStateException: Cannot find an HtmlParser implementation for HTML5
Product: web Reporter: Exceptions Reporter <exceptions_reporter>
Component: HTML EditorAssignee: Marek Fukala <mfukala>
Status: RESOLVED FIXED    
Severity: normal CC: bix0r, buzzword, Vyriel
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 171544
Attachments: stacktrace

Description Exceptions Reporter 2010-07-26 12:42:50 UTC
Build: NetBeans IDE Dev (Build 201007260001)
VM: Java HotSpot(TM) Client VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06
OS: Windows XP

User Comments:
GUEST: I was trying to start up NetBeans on an existing project created using v6.9.  With the nightly build I get this HTML5 error multiple times on startup.  Not there in the release version.

buzzword: Opened a PHP file.

bix0r: New php project with HTML5 view scripts (.phtml)

GUEST: Errors showing when opening a html5 file with doctype:
<!DOCTYPE html>




Stacktrace: 
java.lang.IllegalStateException: Cannot find an HtmlParser implementation for HTML5
   at org.netbeans.editor.ext.html.parser.api.SyntaxAnalyzerResult.doParseHtml(SyntaxAnalyzerResult.java:171)
   at org.netbeans.editor.ext.html.parser.api.SyntaxAnalyzerResult.parseHtml(SyntaxAnalyzerResult.java:162)
   at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.root(HtmlParserResult.java:124)
   at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.roots(HtmlParserResult.java:162)
   at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.findErrors(HtmlParserResult.java:311)
   at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.getDiagnostics(HtmlParserResult.java:234)
Comment 1 Exceptions Reporter 2010-07-26 12:42:53 UTC
Created attachment 101028 [details]
stacktrace
Comment 2 Marek Fukala 2010-07-26 12:52:18 UTC
I've already fixed that, I'll push the changeset to web-main later today...
Comment 3 Marek Fukala 2010-07-26 13:11:01 UTC
fixed in web-main#7b16ee9c8202