Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    The persistence_2_0.xsd enforces the order of the elements in the xml. Re-ordering them makes then error go away.

Solutions on the web

via jetbrains.com by Unknown author, 2 years ago
via Google Groups by Ashok Nair, 8 months ago
Premature end of file.
via gmane.org by Unknown author, 2 years ago
via YouTrack by Unknown author, 2 years ago
via tomcat-users by jay, 1 year ago
Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.	at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)	at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)	at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)	at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)	at org.jdom.input.SAXBuilder.build(SAXBuilder.java:888)	at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java:332)	at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java:309)	at jetbrains.buildServer.serverSide.versioning.converters.FreeMarkerNotificationsConverter.readAndProcess(FreeMarkerNotificationsConverter.java:60)	at jetbrains.buildServer.serverSide.versioning.converters.FreeMarkerNotificationsConverter.convert(FreeMarkerNotificationsConverter.java:36)	at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverterStepJavaClass(ConvertPerformer.java:168)	at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverterSteps(ConvertPerformer.java:138)	at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverter(ConvertPerformer.java:89)	at jetbrains.buildServer.serverSide.versioning.ConvertPerformer.runConverters(ConvertPerformer.java:78)	at jetbrains.buildServer.serverSide.versioning.VersionManager.upgradeIt(VersionManager.java:391)	at jetbrains.buildServer.serverSide.versioning.VersionManager.checkVersionsAndUpgradeSchemaIfNeeded(VersionManager.java:359)	at jetbrains.buildServer.serverSide.versioning.VersionManager$2.run(VersionManager.java:415)	at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.withDB(TeamCityDatabaseManager.java:568)	at jetbrains.buildServer.serverSide.versioning.VersionManager.ensureActualDatabase(VersionManager.java:411)	at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerInternal(TeamCityDispatcherServlet.java:437)	at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerSafe(TeamCityDispatcherServlet.java:23)	at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.access$400(TeamCityDispatcherServlet.java:191)	at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet$5.run(TeamCityDispatcherServlet.java:2)	at java.lang.Thread.run(Thread.java:662)