java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Java
    via by Unknown author,
  • Java?
    via by Unknown author,
  • compound index problem with kodo 4
    via by 666705,
    • java.lang.ClassCastException: kodo.jdbc.meta.ClassMapping at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:172) at org.apache.tools.ant.taskdefs.Java.run(Java.java:705) at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:177) at org.apache.tools.ant.taskdefs.Java.execute(Java.java:83) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeTarget(Project.java:1214) at org.apache.tools.ant.Project.executeTargets(Project.java:1062) at org.apache.tools.ant.Main.runBuild(Main.java:673) at org.apache.tools.ant.Main.startAnt(Main.java:188) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) Caused by: java.lang.ClassCastException: kodo.jdbc.meta.ClassMapping at kodo.jdo.jdbc.JDORMetaDataParser.currentConstraintInfo(JDORMetaDataParser.java:867) at kodo.jdo.jdbc.JDORMetaDataParser.startUnique(JDORMetaDataParser.java:844) at kodo.jdo.JDOMetaDataParser.startClassElement(JDOMetaDataParser.java:889) at com.solarmetric.meta.CFMetaDataParser.startElement(CFMetaDataParser.java:110) at com.solarmetric.meta.XMLMetaDataParser.startElement(XMLMetaDataParser.java:485) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) at com.solarmetric.meta.XMLMetaDataParser.parseNewResource(XMLMetaDataParser.java:390) at com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:332) at com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:289) at kodo.meta.AbstractCFMetaDataFactory.parse(AbstractCFMetaDataFactory.java:467) at kodo.jdo.JDOMetaDataFactory.load(JDOMetaDataFactory.java:121) at kodo.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:432) at kodo.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:274) at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:241) at kodo.jdbc.meta.MappingTool.refresh(MappingTool.java:755) at kodo.jdbc.meta.MappingTool.run(MappingTool.java:689) at kodo.jdbc.meta.MappingTool.run(MappingTool.java:1133) at kodo.jdbc.meta.MappingTool.run(MappingTool.java:1043) at kodo.jdbc.meta.MappingTool.main(MappingTool.java:980) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:193) at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:130) ... 13 more
    No Bugmate found.