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 161167 - ClassCastException: org.netbeans.modules.css.gsf.api.CssParserResult cannot be cast to org.netbeans.modules.html.editor.gsf.HtmlParserResult
Summary: ClassCastException: org.netbeans.modules.css.gsf.api.CssParserResult cannot b...
Status: RESOLVED DUPLICATE of bug 161033
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 16:37 UTC by Kenneth Ganfield
Modified: 2009-05-18 10:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 147909


Attachments
stacktrace (1.81 KB, text/plain)
2009-03-25 16:37 UTC, Kenneth Ganfield
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Ganfield 2009-03-25 16:37:21 UTC
Build: NetBeans IDE Dev (Build 20090324084331)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64

User Comments:
kganfield: editing html file

dancehands: I was editing an HTML Smarty template (.tpl file) and was removing a css class from a <div> when this error occurred. IE, I had highlighted the class="someclass" text and hit the DELETE button and then the error occurred.



Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.css.gsf.api.CssParserResult cannot be cast to org.netbeans.modules.html.editor.gsf.HtmlParserResult
        at org.netbeans.modules.html.editor.gsf.HtmlSemanticAnalyzer.run(HtmlSemanticAnalyzer.java:89)
        at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.process(SemanticHighlighter.java:306)
        at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter.access$000(SemanticHighlighter.java:80)
        at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter$1.run(SemanticHighlighter.java:139)
        at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter$1.run(SemanticHighlighter.java:148)
        at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:128)
Comment 1 Kenneth Ganfield 2009-03-25 16:37:25 UTC
Created attachment 78845 [details]
stacktrace
Comment 2 Marek Fukala 2009-03-26 15:02:04 UTC

*** This issue has been marked as a duplicate of 161033 ***