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 | 9 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 | 9 years ago | 666705
    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]
  2. 0

    Help with Workbench - SAXException

    Oracle Community | 1 decade ago | 3004
    java.io.IOException: org.xml.sax.SAXException: file:/C:/kodo-jdo-3.1.0/samples/j2ee/package.jdo [Location: Line: 24, C: 21]: Type "Car" could not be instantiated.
  3. 0

    reversemappingtool problem

    Oracle Community | 1 decade ago | 3004
    java.io.IOException: org.xml.sax.SAXException: file:/ F:/kodo-jdo-3.1.3/MyReverse/myschema.xml [Location: Line: 37, C: 1]: org.xml.sax SAXParseException: Content is not allowed in prolog.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to use jdo schematool to find the difference in jdo.mapping and the actual database?

    Coderanch | 1 year ago | Asha Balan
    java.io.IOException: org.xml.sax.SAXException: file:/usr/local/qa/AIMS-5.1.5/./jdo.jdo [Location: Line: 38, C: 6]: org.xml.sax.SAXParseException: Document root element "jdo", must match DOCTYPE root "schemas".

    Root Cause Analysis

    1. 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()
    2. com.solarmetric.meta
      XMLMetaDataParser.parse
      1. com.solarmetric.meta.XMLMetaDataParser.parseNew(XMLMetaDataParser.java:372)[mappingtool]
      2. com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:298)[mappingtool]
      3. com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:279)[mappingtool]
      3 frames
    3. kodo.jdbc.meta
      MappingTool.run
      1. kodo.jdbc.meta.FileMappingFactory.readMapping(FileMappingFactory.java:137)[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
    4. kodo.jdbc.ant
      MappingToolTask.executeOn
      1. kodo.jdbc.ant.MappingToolTask.executeOn(MappingToolTask.java:192)[mappingtool]
      1 frame
    5. com.solarmetric.ant
      TaskBase.execute
      1. com.solarmetric.ant.TaskBase.execute(TaskBase.java:105)[mappingtool]
      1 frame
    6. 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
    7. org.eclipse.ant
      EclipseDefaultExecutor.executeTargets
      1. org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)[mappingtool]
      1 frame
    8. Ant
      Project.executeTargets
      1. org.apache.tools.ant.Project.executeTargets(Project.java:1068)[mappingtool]
      1 frame
    9. 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