antlr ClassCastException with GlassFishESB and UML plugin

View: New views
1 Messages — Rating Filter:   Alert me  

antlr ClassCastException with GlassFishESB and UML plugin

by Marco-152 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi guys,

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.

There is a workaround for that?

Marco.