org.jdom.input.JDOMParseException: Error on line -1: Premature end of file.

jetbrains.com | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    4.5 - 6 upgrade errors... :: JetBrains Developer Community

    jetbrains.com | 2 years ago
    org.jdom.input.JDOMParseException: Error on line -1: Premature end of file.
  2. 0

    Excessive logging on error loading usage statistics XML

    YouTrack | 5 years ago
    org.jdom.input.JDOMParseException: Error on line -1: Premature end of file.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    False “Test Connection” success, and then IDE error, on incorrect URL

    GitHub | 5 years ago | gthb
    org.jdom.input.JDOMParseException: Error on line -1: Premature end of file.
  5. 0

    cruisecontrol / Mailing Lists

    sourceforge.net | 2 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.XMLErrorReporter.reportError(Unknown Source)
    6. org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
    7. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    8. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    9. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    10. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    11. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    11 frames
  3. jOpenDocument
    SAXBuilder.build
    1. org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
    2. org.jdom.input.SAXBuilder.build(SAXBuilder.java:847)
    3. org.jdom.input.SAXBuilder.build(SAXBuilder.java:826)
    3 frames
  4. jetbrains.buildServer.usageStatistics
    BasePersistentStateComponent.serverStartup
    1. jetbrains.buildServer.usageStatistics.util.XmlUtil.loadXml(XmlUtil.java:69)
    2. jetbrains.buildServer.usageStatistics.util.BasePersistentStateComponent.loadState(BasePersistentStateComponent.java:73)
    3. jetbrains.buildServer.usageStatistics.util.BasePersistentStateComponent.serverStartup(BasePersistentStateComponent.java:39)
    3 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  6. TeamCity Build Server
    ServerSideEventDispatcher$1.invoke
    1. jetbrains.buildServer.util.EventDispatcher.dispatch(EventDispatcher.java:112)
    2. jetbrains.buildServer.serverSide.ServerSideEventDispatcher.access$000(ServerSideEventDispatcher.java:6)
    3. jetbrains.buildServer.serverSide.ServerSideEventDispatcher$1$1.run(ServerSideEventDispatcher.java:1)
    4. jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl$2.run(SecurityContextImpl.java:1)
    5. jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:21)
    6. jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:24)
    7. jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAsSystem(SecurityContextImpl.java:29)
    8. jetbrains.buildServer.serverSide.ServerSideEventDispatcher$1.invoke(ServerSideEventDispatcher.java:1)
    8 frames
  7. Unknown
    $Proxy8.serverStartup
    1. $Proxy8.serverStartup(Unknown Source)
    1 frame
  8. jetbrains.buildServer.serverSide
    BuildServerImpl.completeStartup
    1. jetbrains.buildServer.serverSide.impl.BuildServerImpl.completeStartup(BuildServerImpl.java:290)
    1 frame
  9. TeamCity Build Server
    BuildServerConfigurator.loadConfiguration
    1. jetbrains.buildServer.web.impl.BuildServerConfigurator.loadConfiguration(BuildServerConfigurator.java:86)
    1 frame
  10. 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
  11. Spring Beans
    AbstractAutowireCapableBeanFactory$1.run
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    5 frames
  12. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  13. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    7 frames
  14. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    2 frames
  15. Spring MVC
    FrameworkServlet.createWebApplicationContext
    1. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:402)
    1 frame
  16. jetbrains.buildServer.rootDispatcher
    WebDispatcherServlet.createWebApplicationContext
    1. jetbrains.buildServer.rootDispatcher.spring.WebDispatcherServlet.createWebApplicationContext(WebDispatcherServlet.java:8)
    1 frame
  17. Spring MVC
    HttpServletBean.init
    1. org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:316)
    2. org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:282)
    3. org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
    3 frames
  18. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:212)
    1 frame
  19. TeamCity Build Server
    TeamCityDispatcherServlet$6.run
    1. jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.createServerServlet(TeamCityDispatcherServlet.java:147)
    2. jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerInternal(TeamCityDispatcherServlet.java:423)
    3. jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerSafe(TeamCityDispatcherServlet.java:4)
    4. jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.access$400(TeamCityDispatcherServlet.java:210)
    5. jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet$6.run(TeamCityDispatcherServlet.java:2)
    5 frames
  20. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame