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 212328 - 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: 7.0.1
Hardware: Other Linux
: P4 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 15:39 UTC by xandao1989
Modified: 2012-05-21 00:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 173416


Attachments
stacktrace (9.46 KB, text/plain)
2012-05-10 15:39 UTC, xandao1989
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xandao1989 2012-05-10 15:39:36 UTC
Build: NetBeans IDE 7.0.1 (Build 20111205-unknown-revn)
VM: OpenJDK 64-Bit Server VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_24-b24
OS: Linux

User Comments:
GUEST: I wanted to create new web application project. I use Netbeans 7.0.1 on Ubuntu installed by ubuntu application center.

GUEST: Press Enter

GUEST: It is not possible to format a gsp file.

GUEST: I was trying to press the ENTER key.

GUEST: Opening up a php project that was previously created in netbeans on mac os. The same project has opened up without issue on other linux distros.




Stacktrace: 
java.lang.IllegalStateException: Cannot find an HtmlParser implementation for HTML5
   at org.netbeans.editor.ext.html.parser.api.SyntaxAnalyzerResult.findParser(SyntaxAnalyzerResult.java:0)
   at org.netbeans.editor.ext.html.parser.api.SyntaxAnalyzerResult.getHtmlModel(SyntaxAnalyzerResult.java:0)
   at org.netbeans.modules.html.editor.indent.HtmlIndenter.<init>(HtmlIndenter.java:77)
   at org.netbeans.modules.html.editor.indent.HtmlIndentTask.<init>(HtmlIndentTask.java:65)
   at org.netbeans.modules.html.editor.indent.HtmlIndentTaskFactory.createTask(HtmlIndentTaskFactory.java:57)
   at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.createTask(TaskHandler.java:0)
Comment 1 xandao1989 2012-05-10 15:39:42 UTC
Created attachment 119305 [details]
stacktrace
Comment 2 Marek Fukala 2012-05-11 06:48:42 UTC
Last reports from 7.0.1 or vert old devs. Closing as already fixed.