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.
Summary: | ClassCastException: org.netbeans.modules.html.editor.xhtml.XhtmlElLanguage$XhtmlELParser$FakeResult cannot be cast to org.netbeans.modules.html.editor.api.gsf.HtmlParserResult | ||
---|---|---|---|
Product: | ide | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Code | Assignee: | issues@ide <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | athompson |
Priority: | P2 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 197927 |
Attachments: | stacktrace |
Description
Exceptions Reporter
2013-01-24 14:14:19 UTC
Created attachment 130589 [details]
stacktrace
This no longer throws a CCE as of the today's build. However, now it seems to do some bizarre (and incorrect) on-the-fly re-indenting of lines in the editor of XHTML files. It's hard to describe but you should be able to replicate it by simply opening an XHTML file in the editor which indents using tabs and moving from line to line. It affects JSP HTML, and XHTML files, but not XML files. The problem is clearly related (I imagine Netbeans is now simply swallowing the CCEs thrown by the HTML parser but that causes the parsed elements to be incorrect), but technically this bug has been resolved (no more CCE). Do you want me to close this bug and create a new one, or just leave this bug open? Please test the latest build from trunk and report potential problems as separate issue, thanks in advance. *** This bug has been marked as a duplicate of bug 225228 *** It looks like the indentation issue has gone away with the latest build. Procrastination pays off again! |