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

Oracle Community | 3004 | 1 decade ago
  1. 0

    kodo.util.FatalInternalException

    Oracle Community | 1 decade ago | 3004
    org.xml.sax.SAXParseException: Premature end of file.
  2. 0

    SAXParseException when opening hte IAC preference page.

    Eclipse Bugzilla | 9 years ago | paulslau
    org.xml.sax.SAXParseException: Premature end of file.
  3. 0

    run report using parameter diagram in Chrome or Safari cause exception

    Eclipse Bugzilla | 8 years ago | zkdavids
    org.xml.sax.SAXParseException: Premature end of file.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This NPE happens sometimes when you first launch a debug session on a newly created project. We get two interesting error logs that provide some hints for the source of the issue: {code} !ENTRY org.eclipse.debug.core 4 125 2013-06-07 11:47:08.601 !MESSAGE Error logged from Debug Core: !STACK 1 org.eclipse.debug.core.DebugException: org.xml.sax.SAXParseException: Premature end of file. occurred while reading launch configuration file: /Users/shalom/Documents/Appcelerator_Studio_Workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/Local Node.ACS server - NodeB.launch. at org.eclipse.debug.internal.core.LaunchManager.createDebugException(LaunchManager.java:897) at org.eclipse.debug.internal.core.LaunchManager.throwException(LaunchManager.java:2431) at org.eclipse.debug.internal.core.LaunchManager.getInfo(LaunchManager.java:1329) at org.eclipse.debug.internal.core.LaunchConfiguration.getInfo(LaunchConfiguration.java:453) at org.eclipse.debug.internal.core.LaunchConfiguration.getType(LaunchConfiguration.java:614) at org.eclipse.debug.internal.core.LaunchManager.isValid(LaunchManager.java:2055) at org.eclipse.debug.internal.core.LaunchManager.launchConfigurationChanged(LaunchManager.java:2110) at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.writeNewFile(LaunchConfigurationWorkingCopy.java:378) at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave0(LaunchConfigurationWorkingCopy.java:245) at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave(LaunchConfigurationWorkingCopy.java:216) at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave(LaunchConfigurationWorkingCopy.java:170) at com.appcelerator.titanium.acs.core.ACSCorePlugin$ServerChangeListener$1.updateConfigurations(ACSCorePlugin.java:296) at com.appcelerator.titanium.acs.core.ACSCorePlugin$ServerChangeListener$1.run(ACSCorePlugin.java:256) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: org.xml.sax.SAXParseException: Premature end of file. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1427) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1056) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) at org.eclipse.debug.internal.core.LaunchManager.createInfoFromXML(LaunchManager.java:918) at org.eclipse.debug.internal.core.LaunchManager.getInfo(LaunchManager.java:1322) ... 11 more !SUBENTRY 1 org.eclipse.debug.core 4 5012 2013-06-07 11:47:08.602 !MESSAGE org.xml.sax.SAXParseException: Premature end of file. occurred while reading launch configuration file: /Users/shalom/Documents/Appcelerator_Studio_Workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/Local Node.ACS server - NodeB.launch. !STACK 0 org.xml.sax.SAXParseException: Premature end of file. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1427) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1056) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) at org.eclipse.debug.internal.core.LaunchManager.createInfoFromXML(LaunchManager.java:918) at org.eclipse.debug.internal.core.LaunchManager.getInfo(LaunchManager.java:1322) at org.eclipse.debug.internal.core.LaunchConfiguration.getInfo(LaunchConfiguration.java:453) at org.eclipse.debug.internal.core.LaunchConfiguration.getType(LaunchConfiguration.java:614) at org.eclipse.debug.internal.core.LaunchManager.isValid(LaunchManager.java:2055) at org.eclipse.debug.internal.core.LaunchManager.launchConfigurationChanged(LaunchManager.java:2110) at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.writeNewFile(LaunchConfigurationWorkingCopy.java:378) at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave0(LaunchConfigurationWorkingCopy.java:245) at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave(LaunchConfigurationWorkingCopy.java:216) at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave(LaunchConfigurationWorkingCopy.java:170) at com.appcelerator.titanium.acs.core.ACSCorePlugin$ServerChangeListener$1.updateConfigurations(ACSCorePlugin.java:296) at com.appcelerator.titanium.acs.core.ACSCorePlugin$ServerChangeListener$1.run(ACSCorePlugin.java:256) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY org.chromium.debug.core 4 0 2013-06-07 11:47:08.874 !MESSAGE SDK:org.chromium.sdk.internal.BaseCommandProcessor: Failed to dispatch response to callback !STACK 0 java.lang.RuntimeException: DebugTarget has not been properly initialized at org.chromium.debug.core.model.DebugTargetImpl$ListenerBlock.waitUntilReady(DebugTargetImpl.java:327) at org.chromium.debug.core.model.ConnectedTargetData$DebugEventListenerImpl.scriptLoaded(ConnectedTargetData.java:318) at org.chromium.sdk.internal.v8native.ScriptManager.addScript(ScriptManager.java:65) at org.chromium.sdk.internal.v8native.processor.AfterCompileProcessor$1.success(AfterCompileProcessor.java:59) at org.chromium.sdk.internal.v8native.V8CommandCallbackBase.messageReceived(V8CommandCallbackBase.java:30) at org.chromium.sdk.internal.v8native.V8CommandCallbackBase.messageReceived(V8CommandCallbackBase.java:1) at org.chromium.sdk.internal.BaseCommandProcessor$3.call(BaseCommandProcessor.java:100) at org.chromium.sdk.internal.BaseCommandProcessor$3.call(BaseCommandProcessor.java:1) at org.chromium.sdk.internal.BaseCommandProcessor.callThemBack(BaseCommandProcessor.java:134) at org.chromium.sdk.internal.BaseCommandProcessor.processIncoming(BaseCommandProcessor.java:104) at org.chromium.sdk.internal.v8native.V8CommandProcessor.processIncomingJson(V8CommandProcessor.java:112) at org.chromium.sdk.internal.standalonev8.StandaloneVmImpl$4.messageReceived(StandaloneVmImpl.java:114) at org.chromium.sdk.internal.transport.SocketConnection$RegularMessageItem.report(SocketConnection.java:120) at org.chromium.sdk.internal.transport.SocketConnection$ResponseDispatcherThread.run(SocketConnection.java:209) !ENTRY org.chromium.debug.core 4 0 2013-06-07 11:47:08.875 !MESSAGE SDK:org.chromium.sdk.util.DestructingGuard: Exception in finally handler !STACK 0 java.lang.NullPointerException at org.chromium.debug.core.model.ConnectedTargetData$DebugEventListenerImpl.disconnected(ConnectedTargetData.java:300) at org.chromium.sdk.internal.standalonev8.StandaloneVmImpl.onDebuggerDetachedImpl(StandaloneVmImpl.java:173) at org.chromium.sdk.internal.standalonev8.StandaloneVmImpl.detach(StandaloneVmImpl.java:151) at org.chromium.debug.core.model.DebugTargetImpl$1.destruct(DebugTargetImpl.java:77) at org.chromium.sdk.util.DestructingGuard.doFinally(DestructingGuard.java:39) at org.chromium.debug.ui.launcher.LaunchTypeBase.launch(LaunchTypeBase.java:111) at org.chromium.debug.ui.launcher.StandaloneV8LaunchType.launch(StandaloneV8LaunchType.java:103) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} and then many of these... {code}!ENTRY org.chromium.debug.core 4 0 2013-06-07 11:47:11.646 !MESSAGE SDK:org.chromium.sdk.internal.BaseCommandProcessor: Failed to dispatch response to callback !STACK 0 java.lang.RuntimeException: DebugTarget has not been properly initialized at org.chromium.debug.core.model.DebugTargetImpl$ListenerBlock.waitUntilReady(DebugTargetImpl.java:327) at org.chromium.debug.core.model.ConnectedTargetData$DebugEventListenerImpl.scriptLoaded(ConnectedTargetData.java:318) at org.chromium.sdk.internal.v8native.ScriptManager.addScript(ScriptManager.java:65) at org.chromium.sdk.internal.v8native.processor.AfterCompileProcessor$1.success(AfterCompileProcessor.java:59) at org.chromium.sdk.internal.v8native.V8CommandCallbackBase.messageReceived(V8CommandCallbackBase.java:30) at org.chromium.sdk.internal.v8native.V8CommandCallbackBase.messageReceived(V8CommandCallbackBase.java:1) at org.chromium.sdk.internal.BaseCommandProcessor$3.call(BaseCommandProcessor.java:100) at org.chromium.sdk.internal.BaseCommandProcessor$3.call(BaseCommandProcessor.java:1) at org.chromium.sdk.internal.BaseCommandProcessor.callThemBack(BaseCommandProcessor.java:134) at org.chromium.sdk.internal.BaseCommandProcessor.processIncoming(BaseCommandProcessor.java:104) at org.chromium.sdk.internal.v8native.V8CommandProcessor.processIncomingJson(V8CommandProcessor.java:112) at org.chromium.sdk.internal.standalonev8.StandaloneVmImpl$4.messageReceived(StandaloneVmImpl.java:114) at org.chromium.sdk.internal.transport.SocketConnection$RegularMessageItem.report(SocketConnection.java:120) at org.chromium.sdk.internal.transport.SocketConnection$ResponseDispatcherThread.run(SocketConnection.java:209) !ENTRY org.chromium.debug.core 1 0 2013-06-07 11:47:11.656 !MESSAGE SDK:org.chromium.sdk.internal.transport.SocketConnection: Shutdown requested !ENTRY org.eclipse.core.jobs 4 2 2013-06-07 11:47:11.889 !MESSAGE An internal error occurred during: "Launching Local Node.ACS server - NodeB". !STACK 0 java.lang.NullPointerException at org.chromium.debug.core.ChromiumSourceDirector.readLookupMode(ChromiumSourceDirector.java:114) at org.chromium.debug.core.ChromiumSourceDirector.getLookupModeHandler(ChromiumSourceDirector.java:128) at org.chromium.debug.core.ChromiumSourceDirector.checkSupportedLookupMode(ChromiumSourceDirector.java:450) at org.chromium.debug.core.ChromiumSourceDirector.initializeVProjectContainers(ChromiumSourceDirector.java:434) at org.chromium.debug.core.model.VProjectWorkspaceBridge.<init>(VProjectWorkspaceBridge.java:98) at org.chromium.debug.core.model.VProjectWorkspaceBridge$FactoryImpl.attachedToVm(VProjectWorkspaceBridge.java:67) at org.chromium.debug.core.model.ConnectedTargetData.initWorkspaceRelations(ConnectedTargetData.java:220) at org.chromium.debug.core.model.ConnectedTargetData.setVmEmbedder(ConnectedTargetData.java:83) at org.chromium.debug.core.model.DebugTargetImpl.attach(DebugTargetImpl.java:83) at org.chromium.debug.ui.launcher.LaunchTypeBase.launch(LaunchTypeBase.java:98) at org.chromium.debug.ui.launcher.StandaloneV8LaunchType.launch(StandaloneV8LaunchType.java:103) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 4 years ago | Shalom Gibly
    org.xml.sax.SAXParseException: 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 com.solarmetric.meta.XMLMetaDataParser.parse()
    2. com.solarmetric.meta
      XMLMetaDataParser.parse
      1. com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:320)
      2. com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:260)
      3. com.solarmetric.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:240)
      3 frames
    3. kodo.jdbc.meta
      FileMappingFactory.readMapping
      1. kodo.jdbc.meta.FileMappingFactory.readMapping(FileMappingFactory.java:117)
      1 frame