org.eclipse.emf.common.util.WrappedException: org.xml.sax.SAXParseException: Premature end of file.

ibm.com | 7 months 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

    com.intellij.openapi.components.StateStorage$StateStorageException: org.jdom.input.JDOMParseException: Error on line -1: Premature end of file.

    YouTrack | 10 years ago
    com.intellij.openapi.components.StateStorage$StateStorageException: org.jdom.input.JDOMParseException: Error on line -1: Premature end of file.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Redmine connectivity

    YouTrack | 6 years ago
    org.jdom.input.JDOMParseException: Error on line -1: Premature end of file.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.xml.sax.SAXParseException

    Premature end of file.

    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
  2. Xerces2-j
    SAXParserImpl$JAXPSAXParser.parse
    1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    2. org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
    3. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    4. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    5. org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
    6. org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
    7. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    8. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    9. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    10. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    11. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    12. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    12 frames
  3. EMF Utilities
    CompatibilityXMIResourceImpl.doLoad
    1. org.eclipse.wst.common.internal.emf.resource.EMF2SAXRenderer.doLoad(EMF2SAXRenderer.java:93)
    2. org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.basicDoLoad(TranslatorResourceImpl.java:144)
    3. org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:175)
    3 frames
  4. org.eclipse.emf.ecore
    ResourceImpl.load
    1. org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1445)
    2. org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1241)
    2 frames
  5. EMF Utilities
    TranslatorResourceImpl.load
    1. org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.load(CompatibilityXMIResourceImpl.java:261)
    2. org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.load(TranslatorResourceImpl.java:389)
    2 frames
  6. org.eclipse.emf.ecore
    ResourceSetImpl.getResource
    1. org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
    2. org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
    3. org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397)
    3 frames
  7. J2EE Component
    ComponentArchiveLoadAdapter.getModelObject
    1. org.eclipse.jst.j2ee.internal.archive.JavaEEEMFArchiveAdapterHelper.getResource(JavaEEEMFArchiveAdapterHelper.java:121)
    2. org.eclipse.jst.j2ee.internal.archive.JavaEEEMFArchiveAdapterHelper.getModelObject(JavaEEEMFArchiveAdapterHelper.java:126)
    3. org.eclipse.jst.j2ee.internal.archive.ComponentArchiveLoadAdapter.getModelObject(ComponentArchiveLoadAdapter.java:661)
    3 frames
  8. J2EE Core Component
    ArchiveImpl.getModelObject
    1. org.eclipse.jst.jee.archive.internal.ArchiveImpl.getModelObject(ArchiveImpl.java:221)
    1 frame
  9. J2EE Component
    JavaEEBinaryComponentHelper.getJavaEEQuickPeek
    1. org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.refineForJavaEE(JavaEEArchiveUtilities.java:324)
    2. org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:304)
    3. org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:143)
    4. org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper$ArchiveCache.openArchive(JavaEEBinaryComponentHelper.java:470)
    5. org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper.openArchive(JavaEEBinaryComponentHelper.java:343)
    6. org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper.getUniqueArchive(JavaEEBinaryComponentHelper.java:332)
    7. org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper.getArchive(JavaEEBinaryComponentHelper.java:325)
    8. org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper.getJavaEEQuickPeek(JavaEEBinaryComponentHelper.java:54)
    8 frames
  10. org.eclipse.jst
    EarUtilities.getJ2EEModuleReferences
    1. org.eclipse.jst.j2ee.project.JavaEEProjectUtilities.getJ2EEComponentType(JavaEEProjectUtilities.java:189)
    2. org.eclipse.jst.j2ee.project.EarUtilities.getComponentReferencesAsList(EarUtilities.java:132)
    3. org.eclipse.jst.j2ee.project.EarUtilities.getComponentReferences(EarUtilities.java:107)
    4. org.eclipse.jst.j2ee.project.EarUtilities.getJ2EEModuleReferences(EarUtilities.java:77)
    4 frames
  11. J2EE Component
    J2EEProjectUtilities.getJ2EEModuleReferences
    1. org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities.getJ2EEModuleReferences(J2EEProjectUtilities.java:1156)
    1 frame
  12. com.ibm.etools
    BatchExtension$RunDeploy.run
    1. com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runEarDeploy(BatchExtension.java:389)
    2. com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access$1(BatchExtension.java:354)
    3. com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExtension.java:337)
    3 frames
  13. Core Resource Management
    Workspace.run
    1. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
    2. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
    2 frames
  14. com.ibm.etools
    BatchExtension.run
    1. com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(BatchExtension.java:302)
    2. com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:265)
    2 frames
  15. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    4. java.lang.reflect.Method.invoke(Method.java:600)
    4 frames
  16. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
    2. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
    2 frames
  17. Eclipse OSGi
    EclipseStarter.run
    1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    3 frames
  18. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    4. java.lang.reflect.Method.invoke(Method.java:600)
    4 frames
  19. com.ibm.etools
    EJBDeploy.main
    1. com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:487)
    2. com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:106)
    3. com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:106)
    4. com.ibm.etools.ejbdeploy.EJBDeploy.deploy(EJBDeploy.java:349)
    5. com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:311)
    5 frames