[antlr-interest] Need some help with error "Can't find/access AST Node"

jlist jlist9 at gmail.com
Thu Sep 11 10:56:18 PDT 2008


Hi all,

We have an application that uses Antlr and it worked fine until
we upgraded from Java 1.4 to 1.6. I see this line in stdout log:

  Can't find/access AST Node type<our AST class name>

And this in the traceback:

  java.lang.ClassCastException: antlr.CommonAST cannot be cast to
  <our AST class name>

The Java code hasn't been changed recently. Has anyone seen this before?
Any help/hint is appreciated.

-- 
Best regards,
Jack



More information about the antlr-interest mailing list