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]

Oracle Community | 666705 | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MappingTool

    Oracle Community | 10 years ago | 666705
    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]

    Root Cause Analysis

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