kodo.util.GeneralException

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]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via Oracle Community by 666705, 1 year ago
    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]
  • java.io.IOException: org.xml.sax.SAXException: file:/D:/development/workspace/RailOpt/bin/com/qnamic/railopt/railroad/model/package.jdo [Location: Line: 19, C: 101]: Type "AbstractVehicleServicePool" could not be instantiated.
  • via Oracle Community by 666705, 1 year ago
    java.io.IOException: org.xml.sax.SAXException: jar:file:/C:/plexus/workdir/plexussuite/plexus-dev/modules/acsian-persistence.jar!/net/acsian/plexus/persistence/rdbmap/package.jdo [Location: Line: 6, C: 62]: Type "Activity" could not be instantiated.
  • Stack trace

    • kodo.util.GeneralException: 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 kodo.jdbc.meta.FileMappingFactory.readMapping(FileMappingFactory.java:141)[mappingtool] at kodo.jdbc.meta.MappingRepository.getMappingInfo(MappingRepository.java:532)[mappingtool] at kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:389)[mappingtool] at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:348)[mappingtool] at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:177)[mappingtool] at kodo.jdbc.meta.MappingTool.refresh(MappingTool.java:591)[mappingtool] at kodo.jdbc.meta.MappingTool.run(MappingTool.java:941)[mappingtool] at kodo.jdbc.ant.MappingToolTask.executeOn(MappingToolTask.java:192)[mappingtool] at com.solarmetric.ant.TaskBase.execute(TaskBase.java:105)[mappingtool] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)[mappingtool] at org.apache.tools.ant.Task.perform(Task.java:364)[mappingtool] at org.apache.tools.ant.Target.execute(Target.java:341)[mappingtool] at org.apache.tools.ant.Target.performTasks(Target.java:369)[mappingtool] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)[mappingtool] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)[mappingtool] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)[mappingtool] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)[mappingtool] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)[mappingtool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)[mappingtool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.