Hi,
well the message is verbose in fact. Better than many other I know of :^0
Yet what always helps in search of such validation errors I think is the context.
In that case the offending class name would be great, you should have this information at hands since you're scanning the classes, right?
Given that information I'd found the problem immediately.
Cheers
Markus