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

Oracle Community | 843830 | 9 years ago
  1. 0

    JMS Binding: in/out message

    Oracle Community | 9 years ago | 843830
    org.xml.sax.SAXParseException: Premature end of file.
  2. 0

    NetBeans IDE nicht zu starten -

    netbeans-forum.de | 1 year ago
    org.xml.sax.SAXParseException: Premature end of file.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    How to configure JspTest?

    manning.com | 4 months ago
    java.lang.RuntimeException: Premature end of file. (C OCUME~1NGUYEN~1LOCALS~1Tempgenerated_html_32804.html)
  5. 0

    After I copied the artifactory.war into <TOMCAT_INSTALLATION_FOLDER>/webapps, Tomcat starts up with the following error: [Fatal Error] workspace.xml:1:1: Premature end of file. 2008-07-11 16:10:11,147 [ERROR] (CentralConfigFactoryBean.java:93) - Failed to load configuration from 'C:\Documents and Settings\y aoj\.artifactory\etc\artifactory.config.xml'. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrSessionHelper' defined in class path resourc e [META-INF/spring/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Failed to config jcr repo. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFacto ry.java:1336) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory .java:471) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:4 09) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.j ava:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:308) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:297) at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:942) at org.artifactory.spring.ArtifactoryApplicationContext.beanForType(ArtifactoryApplicationContext.java:83) at org.artifactory.spring.ArtifactoryApplicationContext.getJcr(ArtifactoryApplicationContext.java:92) at org.artifactory.config.CentralConfig.init(CentralConfig.java:155) at org.artifactory.config.CentralConfigFactoryBean.afterPropertiesSet(CentralConfigFactoryBean.java:81) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFa ctory.java:1367) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFacto ry.java:1333) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory .java:471) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:4 09) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.j ava:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.jav a:423) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.ja va:729) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83) at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:51) at org.artifactory.webapp.servlet.ArtifactoryContextConfigurer.contextInitialized(ArtifactoryContextConfigurer.java:44) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.RuntimeException: Failed to config jcr repo. at org.artifactory.jcr.InitJcrRepoStrategy.createJcrRepository(InitJcrRepoStrategy.java:84) at org.artifactory.jcr.JackrabbitJcrWrapper.init(JackrabbitJcrWrapper.java:165) at org.artifactory.jcr.JackrabbitJcrWrapper.afterPropertiesSet(JackrabbitJcrWrapper.java:129) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFa ctory.java:1367) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFacto ry.java:1333) ... 58 more Caused by: org.apache.jackrabbit.core.config.ConfigurationException: Configuration file syntax error.: Premature end of file.: Prematur e end of file. at org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:199) at org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseWorkspaceConfig(RepositoryConfigurationParser.java:343) at org.apache.jackrabbit.core.config.RepositoryConfig.loadWorkspaceConfig(RepositoryConfig.java:368) at org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:323) at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:142) at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:115) at org.artifactory.jcr.InitJcrRepoStrategy.createJcrRepository(InitJcrRepoStrategy.java:64) ... 62 more Caused by: org.xml.sax.SAXParseException: Premature end of file. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283) at org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:193) ... 68 more Jul 11, 2008 4:10:11 PM org.apache.catalina.core.StandardContext start

    JFrog JIRA | 8 years ago | Jie Yao
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrSessionHelper' defined in class path resourc e [META-INF/spring/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Failed to config jcr repo.

  1. tvrmsmith 1 times, last 4 months ago
10 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 com.sun.org.apache.xerces.internal.parsers.DOMParser.parse()
  2. Java RT
    DocumentBuilderImpl.parse
    1. com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
    2. com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
    2 frames
  3. com.sun.jbi
    InboundMessageProcessorListenerEndpoint.onMessage
    1. com.sun.jbi.jmsbc.XmlUtil.createDocumentFromInputSource(XmlUtil.java:74)
    2. com.sun.jbi.jmsbc.XmlUtil.createDocumentFromXML(XmlUtil.java:90)
    3. com.sun.jbi.jmsbc.JMSNormalizer.addPart(JMSNormalizer.java:587)
    4. com.sun.jbi.jmsbc.JMSNormalizer.buildMessagePayloadFromMapMessage(JMSNormalizer.java:339)
    5. com.sun.jbi.jmsbc.JMSNormalizer.buildMessagePayload(JMSNormalizer.java:232)
    6. com.sun.jbi.jmsbc.JMSNormalizer.normalize(JMSNormalizer.java:178)
    7. com.sun.jbi.jmsbc.InboundMessageProcessorListenerEndpoint.normalizeMessage(InboundMessageProcessorListenerEndpoint.java:691)
    8. com.sun.jbi.jmsbc.InboundMessageProcessorListenerEndpoint.processInboundRequest(InboundMessageProcessorListenerEndpoint.java:423)
    9. com.sun.jbi.jmsbc.InboundMessageProcessorListenerEndpoint.onMessage(InboundMessageProcessorListenerEndpoint.java:225)
    9 frames
  4. com.stc.jmsjca
    SyncDelivery$SyncWorker.run
    1. com.stc.jmsjca.core.Delivery.deliverToEndpoint(Delivery.java:1105)
    2. com.stc.jmsjca.core.SyncDelivery$SyncWorker.runOnceStdNoXA(SyncDelivery.java:700)
    3. com.stc.jmsjca.core.SyncDelivery$SyncWorker.run(SyncDelivery.java:757)
    3 frames