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.

Appcelerator JIRA | Shalom Gibly | 3 years ago
  1. 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 | 3 years ago | Shalom Gibly
    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.
  2. 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 | 3 years ago | Shalom Gibly
    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.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Problem related to spring/resources.xml while deploying Grails applicatoin war in tomcat

    Stack Overflow | 5 years ago | Akeel
    org.xml.sax.SAXParseException: Premature end of file.
  5. 0

    persistence.xml - Error parsing XML: XML InputStream(1) Premature end of file

    Stack Overflow | 4 years ago | N.M.
    javax.persistence.PersistenceException: Unable to configure EntityManagerFactory

  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.util.ErrorHandlerWrapper.createSAXParseException()
  2. Java RT
    DocumentBuilderImpl.parse
    1. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
    2. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
    3. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
    4. com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1427)
    5. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1056)
    6. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
    7. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
    8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
    9. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    10. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
    11. com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232)
    12. com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
    12 frames
  3. Debug Core
    LaunchConfigurationWorkingCopy.doSave
    1. org.eclipse.debug.internal.core.LaunchManager.createInfoFromXML(LaunchManager.java:918)
    2. org.eclipse.debug.internal.core.LaunchManager.getInfo(LaunchManager.java:1322)
    3. org.eclipse.debug.internal.core.LaunchConfiguration.getInfo(LaunchConfiguration.java:453)
    4. org.eclipse.debug.internal.core.LaunchConfiguration.getType(LaunchConfiguration.java:614)
    5. org.eclipse.debug.internal.core.LaunchManager.isValid(LaunchManager.java:2055)
    6. org.eclipse.debug.internal.core.LaunchManager.launchConfigurationChanged(LaunchManager.java:2110)
    7. org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.writeNewFile(LaunchConfigurationWorkingCopy.java:378)
    8. org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave0(LaunchConfigurationWorkingCopy.java:245)
    9. org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave(LaunchConfigurationWorkingCopy.java:216)
    10. org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave(LaunchConfigurationWorkingCopy.java:170)
    10 frames
  4. com.appcelerator.titanium
    ACSCorePlugin$ServerChangeListener$1.run
    1. com.appcelerator.titanium.acs.core.ACSCorePlugin$ServerChangeListener$1.updateConfigurations(ACSCorePlugin.java:296)
    2. com.appcelerator.titanium.acs.core.ACSCorePlugin$ServerChangeListener$1.run(ACSCorePlugin.java:256)
    2 frames
  5. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    1 frame