checkstyle4nb produeces ClassCastExcpetion

"Thomas Zillinger" <[email protected]>
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
Hi guys, I was wondering if you could help me on this matter. I know, checkstyle4nb is not a project hosted by checkstyle. However, but maybe someone knows the answer anyway.

The problem is, that checkstyle4nb produces following weird error when processing a file using checker.process(File[]):
"java.lang.ClassCastException: antlr.CommonToken cannot be cast to antlr.Token"
in line 0 of the file.

I'm using checkstyle-all-4.3.jar as the only lib I added.

Anyone got an idea?

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.