Your parser was generated using ANTLR 4.0, but you are trying to execute it with ANTLR 4.1. The most likely reason for this is the use of ANTLRWorks 2.0 to generate a parser that uses ANTLR 4.0 for internal use. I am in the process of releasing ANTLRWorks 2.1, which will correct this inconsistency.
source share