java.io.IOException: org.xml.sax.SAXException: file:/C:/Workspace/MyKodoTest/bin/mykodotest/package.mapping [Location: Unknown]: org.xml.sax.SAXParseException: Premature end of file. [mappingtool]

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

Solutions on the web

via Oracle Community by 666705, 1 year ago
org.xml.sax.SAXException: file:/C:/Workspace/MyKodoTest/bin/mykodotest/package.mapping [Location: Unknown]: org.xml.sax.SAXParseException: Premature end of file. [mappingtool]
java.io.IOException: org.xml.sax.SAXException: file:/C:/Workspace/MyKodoTest/bin/mykodotest/package.mapping [Location: Unknown]: org.xml.sax.SAXParseException: Premature end of file. [mappingtool]
at com.solarmetric.meta.XMLMetaDataParser.parseNew(XMLMetaDataParser.java:372)
at com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:298)
at com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:279)
at kodo.jdbc.meta.FileMappingFactory.readMapping(FileMappingFactory.java:137)
at kodo.jdbc.meta.MappingRepository.getMappingInfo(MappingRepository.java:532)
at kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:389)
at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:348)
at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:177)
at kodo.jdbc.meta.MappingTool.refresh(MappingTool.java:591)
at kodo.jdbc.meta.MappingTool.run(MappingTool.java:941)
at kodo.jdbc.ant.MappingToolTask.executeOn(MappingToolTask.java:192)
at com.solarmetric.ant.TaskBase.execute(TaskBase.java:105)
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.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

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.

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