At 02:00 17/09/2008, maulattu wrote: >In particular, input.getTokenStream() returns null and I can't >understand why (it is in the "expr()" function) Did you call setTokenStream in your driver code to pass the token stream over to the node stream? It doesn't inherit it automatically...