java.lang.ClassCastException: kodo.jdbc.meta.ClassMapping

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via hivmr.com by Unknown author, 1 year ago
via wpthm.com by Unknown author, 2 years ago
kodo.jdbc.meta.ClassMapping
via wpthm.com by Unknown author, 2 years ago
kodo.jdbc.meta.ClassMapping
via Oracle Community by 666705, 1 year ago
kodo.jdbc.meta.ClassMapping [java]
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 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)
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.launch.Launcher.run(Launcher.java:196)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.