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 - IllegalStateException: Cannot find an HtmlParser implementation for HTML5
Summary: IllegalStateException: Cannot find an HtmlParser implementation for HTML5
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 12:42 UTC by Exceptions Reporter
Modified: 2010-07-26 13:11 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 171544


Attachments
stacktrace (4.03 KB, text/plain)
2010-07-26 12:42 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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