We are developing a netbeans module for GlassFishESB and in our code we
use antlr (2.7.7).
Sometimes this exception is raised:
java.lang.ClassCastException: antlr.CommonToken cannot be cast to
antlr.Token
at antlr.CharScanner.makeToken(CharScanner.java:173)
(...)
It seems that there are some other versions of antlr in the classpath.
We made some test and we discovered that if we uninstall the UML plugin
the problem disappears.