Uhm, I guess I don't have a complete Tree/TreeAdaptor implementation. I should probably override "dupNode()" in my AST definition. Currently this is inherited, I guess there is where CommonTree Objects get into the tree, which later leads to the ClassCastException..