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 185000 - ClassCastException: org.netbeans.api.languages.ASTNode cannot be cast to org.netbeans.api.languages.ASTToken
Summary: ClassCastException: org.netbeans.api.languages.ASTNode cannot be cast to org....
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-26 13:49 UTC by Exceptions Reporter
Modified: 2010-09-23 09:15 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 13968


Attachments
stacktrace (836 bytes, text/plain)
2010-04-26 13:49 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2010-04-26 13:49:38 UTC
This issue was reported manually by mmirilovic.
It already has 33 duplicates 


Build: NetBeans IDE Dev (Build 200806040005)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux

User Comments:
GUEST: I've created a fixture with only this test (in Ruby with a .yml file)

#
#
#

<% fixtures :users %>

GUEST: YAML file




Stacktrace: 
java.lang.ClassCastException: org.netbeans.api.languages.ASTNode cannot be cast to org.netbeans.api.languages.ASTToken
   at org.netbeans.modules.languages.parser.LLSyntaxAnalyser.readNoGrammar(LLSyntaxAnalyser.java:587)
   at org.netbeans.modules.languages.parser.LLSyntaxAnalyser.read2(LLSyntaxAnalyser.java:255)
   at org.netbeans.modules.languages.parser.LLSyntaxAnalyser.read(LLSyntaxAnalyser.java:159)
   at org.netbeans.modules.languages.ParserManagerImpl.parse(ParserManagerImpl.java:316)
   at org.netbeans.modules.languages.ParserManagerImpl.access$200(ParserManagerImpl.java:87)
   at org.netbeans.modules.languages.ParserManagerImpl$2.run(ParserManagerImpl.java:214)
Comment 1 Exceptions Reporter 2010-04-26 13:49:42 UTC
Created attachment 98041 [details]
stacktrace
Comment 2 David Strupl 2010-09-23 09:15:55 UTC
I am closing all reports in category Java/Unsupported as wontfix. These should
be dead issues --- if the reported cases are against some live part of the
NetBeans IDE please reopen and we can discuss to which category they belong.