[kaffe] Eclipse and strange ClassCastException

Mark Wielaard mark at klomp.org
Mon Jul 7 01:09:01 PDT 2003


Hi,

Did anybody try eclipse recently?

When trying to run the eclipse-SDK-2.1-linux-gtk release (make sure that
your java.version in System.csays "1.3" otherwise it won't try to run at
all) I get a strange ClassCastException (workspace/.metainfo/.log file):

java.lang.ExceptionInInitializerError: [exception was java.lang.ClassCastException: can't cast `org/apache/xerces/parsers/StandardParserConfiguration' to `org/apache/xerces/xni/parser/XMLParserConfiguration']
        at org.eclipse.core.internal.plugins.RegistryLoader.processManifestFile(RegistryLoader.java:89)

The strange thing is that at that point of the code there is no such
cast (the eclipse "binary" release comes with complete source code). I
tried a kaffe build without the xml and jaxp files but that wasn't it.

The StandardParserConfiguration class implements the
XMLPullParserConfiguration interface which extends the
XMLParserConfiguration interface.

Cheers,

Mark





More information about the kaffe mailing list