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 161909 - [67cat] ClassCastException: org.netbeans.modules.css.gsf.api.CssParserResult cannot be cast to org.netbeans.modules.html.editor.gsf.HtmlParserResult
Summary: [67cat] ClassCastException: org.netbeans.modules.css.gsf.api.CssParserResult ...
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-04-03 16:02 UTC by dancehands
Modified: 2009-05-18 10:47 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 146658


Attachments
stacktrace (1.82 KB, text/plain)
2009-04-03 16:02 UTC, dancehands
Details
stacktrace (1.83 KB, text/plain)
2009-04-05 19:24 UTC, rohitbrai
Details
stacktrace (1.83 KB, text/plain)
2009-04-05 19:27 UTC, rohitbrai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dancehands 2009-04-03 16:02:05 UTC
Build: NetBeans IDE Dev (Build 200904030200)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments:
GUEST: Happened when indexing Erlang/OTP lib which contains css files.

dancehands: I am working in a PHP project, editing a TPL file (Smarty HTML template). I was working inside the smarty delimiter "{" and had typed the name of a smarty variable, and arrow (since the smarty variable is of type object) and then the error occurred.



Stacktrace: 
org.netbeans.modules.parsing.spi.ParseException
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:190)
        at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99)
        at org.netbeans.modules.csl.navigation.ElementScanningTask.run(ElementScanningTask.java:112)
        at org.netbeans.modules.csl.navigation.ClassMemberNavigatorSourceFactory$ProxyElementScanningTask.run(ClassMemberNavigatorSourceFactory.java:141)
        at org.netbeans.modules.csl.navigation.ClassMemberNavigatorSourceFactory$ProxyElementScanningTask.run(ClassMemberNavigatorSourceFactory.java:119)
        at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:681)
Comment 1 dancehands 2009-04-03 16:02:12 UTC
Created attachment 79403 [details]
stacktrace
Comment 2 rohitbrai 2009-04-05 19:24:29 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, amd64

User Comments: 
Editing a comment in html file

Stacktrace: 
org.netbeans.modules.parsing.spi.ParseException
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:190)
        at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:101)
        at org.netbeans.modules.csl.navigation.ElementScanningTask.run(ElementScanningTask.java:112)
        at org.netbeans.modules.csl.navigation.ClassMemberNavigatorSourceFactory$ProxyElementScanningTask.run(ClassMemberNavigatorSourceFactory.java:141)
        at org.netbeans.modules.csl.navigation.ClassMemberNavigatorSourceFactory$ProxyElementScanningTask.run(ClassMemberNavigatorSourceFactory.java:119)
        at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:681)
Comment 3 rohitbrai 2009-04-05 19:24:41 UTC
Created attachment 79477 [details]
stacktrace
Comment 4 rohitbrai 2009-04-05 19:27:34 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, amd64

User Comments: 
Editing Comment in HTML file

Stacktrace: 
org.netbeans.modules.parsing.spi.ParseException
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:190)
        at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:101)
        at org.netbeans.modules.csl.navigation.ElementScanningTask.run(ElementScanningTask.java:112)
        at org.netbeans.modules.csl.navigation.ClassMemberNavigatorSourceFactory$ProxyElementScanningTask.run(ClassMemberNavigatorSourceFactory.java:141)
        at org.netbeans.modules.csl.navigation.ClassMemberNavigatorSourceFactory$ProxyElementScanningTask.run(ClassMemberNavigatorSourceFactory.java:119)
        at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:681)
Comment 5 rohitbrai 2009-04-05 19:27:42 UTC
Created attachment 79479 [details]
stacktrace
Comment 6 Marek Fukala 2009-04-06 09:09:02 UTC
This seems to be a duplicate of issue #161033 even if the stacktraces are different. The main problem is that the
parsing api infrastruture passes incompatible parser results into tasks.

*** This issue has been marked as a duplicate of 161033 ***
Comment 7 Marek Fukala 2009-04-06 09:11:51 UTC
This seems to be a duplicate of issue #161033 even if the stacktraces are different. The main problem is that the
parsing api infrastruture passes incompatible parser results into tasks.

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