org.xml.sax.SAXParseException: Premature end of file.]

osdir.com | 6 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

    Welogic server error

    Oracle Community | 6 years ago | user4958421
    org.xml.sax.SAXParseException: Premature end of file.]
  2. 0

    some error after install and configure fmw 11g

    Oracle Community | 5 years ago | Ingenio
    org.xml.sax.SAXParseException: The element type "property" must be terminated by the matching end-tag "</property>".]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    How to parse multiple xml documents from single buffer

    Oracle Community | 10 years ago | 843834
    org.xml.sax.SAXParseException: Illegal character at end of document, &#x3c;.]
  5. 0

    bpm process is not shown on bpm workspace but i see exception on the server

    Oracle Community | 4 years ago | 1009806
    org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.]

    1 unregistered visitors
    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 javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException()
    2. Java RT
      AbstractUnmarshallerImpl.createUnmarshalException
      1. javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
      1 frame
    3. Old JAXB Runtime
      UnmarshallerImpl.unmarshal
      1. com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:476)
      2. com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:198)
      3. com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:167)
      3 frames
    4. Java RT
      AbstractUnmarshallerImpl.unmarshal
      1. javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:120)
      2. javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:103)
      2 frames
    5. OpenEJB :: Container :: Java EE
      JaxbPersistenceFactory.getPersistence
      1. org.apache.openejb.jee.jpa.unit.JaxbPersistenceFactory.getPersistence(JaxbPersistenceFactory.java:69)
      1 frame
    6. OpenEJB :: OSGi :: Core
      OpenEJB.init
      1. org.apache.openejb.config.ReadDescriptors.deploy(ReadDescriptors.java:103)
      2. org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:247)
      3. org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:601)
      4. org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:551)
      5. org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:380)
      6. org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:299)
      7. org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:278)
      8. org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
      9. org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
      10. org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
      10 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. OpenEJB :: Container :: Loader
      OpenEJBInstance.init
      1. org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
      1 frame
    9. OpenEJB :: Server :: Client
      LocalInitialContextFactory.getInitialContext
      1. org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
      2. org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
      3. org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
      3 frames
    10. Java RT
      InitialContext.<init>
      1. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
      2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      3. javax.naming.InitialContext.init(InitialContext.java:223)
      4. javax.naming.InitialContext.<init>(InitialContext.java:197)
      4 frames
    11. com.bmw.sf
      AbstractOpenEJBLocalFacadeTestCase.setUp
      1. com.bmw.sf.xxx.facade.AbstractOpenEJBLocalFacadeTestCase.setupInitialContext(AbstractOpenEJBLocalFacadeTestCase.java:59)
      2. com.bmw.sf.xxx.facade.AbstractOpenEJBLocalFacadeTestCase.setUp(AbstractOpenEJBLocalFacadeTestCase.java:23)
      2 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    13. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
      5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
      8. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
      9. org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
      10. org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
      11. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      12. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      13. org.junit.runners.ParentRunner.run(ParentRunner.java:220)
      13 frames