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.javascript2.editor.parser.JsParserResult cannot be cast to org.netbeans.modules.html.editor.api.gsf.HtmlParserResult | ||
---|---|---|---|
Product: | web | Reporter: | Martin Entlicher <mentlicher> |
Component: | HTML Navigator | Assignee: | Jan Becicka <jbecicka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | johnjullion, mfukala, pjiricka, vriha |
Priority: | P1 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 191553 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace |
Description
Martin Entlicher
2012-08-15 08:04:28 UTC
Created attachment 123130 [details]
stacktrace
Created attachment 123134 [details]
stacktrace
opened js file in editor
Created attachment 123139 [details]
stacktrace
opening css file
Blocks the demo This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=191553 Created attachment 123227 [details]
stacktrace
editing property from Rule Editor
Does it happen also when you don't use the HTML View in the navigator? If not, then the workaround could be not to ever switch to the Navigator HTML View. As for plain JS and CSS files: The worarkound would actually be to close the Navigator window as such because javascript and css files don't have HTML View but "simple" Navigator. If it is opened, exception is thrown. Closing it helps... I'm not sure if the reports from CSS files (comment #3 and comment #6) should be here. If so: - I had Navigator in Outline view - selected some element in DOM Tree, then some of it's property in CSS Styles - tried to edit the property in Rule Editor => exception from comment #6 Changeset: 65e94c2c0dd4 Author: Jan Becicka <jbecicka@netbeans.org> Date: 2012-08-21 14:36 Message: Issue #216901 - ClassCastException: org.netbeans.modules.javascript2.editor.parser.JsParserResult cannot be cast to org.netbeans.modules.html.editor.api.gsf.HtmlParserResult Integrated into 'main-golden', will be available in build *201209031048* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/65e94c2c0dd4 User: Jan Becicka <jbecicka@netbeans.org> Log: Issue #216901 - ClassCastException: org.netbeans.modules.javascript2.editor.parser.JsParserResult cannot be cast to org.netbeans.modules.html.editor.api.gsf.HtmlParserResult |