Project: appceleratorstudio
Issue TISTUD-4890: Node.ACS Debugger: intermittent fail to connect with Premature end of file
Node.ACS Debugger: intermittent fail to connect with Premature end of file. Occurs 1/6 times, could be related to TISTUD-4747, as they seem intertwined. Test Steps: 1. Create default Node.ACS Project. 2. Debug multiple times in a row with a breakpoint in app.js line 3. Result: Error in UI and log. {code} !ENTRY org.eclipse.debug.core 4 5012 2013-06-06 11:45:49.869 !MESSAGE org.xml.sax.SAXParseException: Premature end of file. occurred while reading launch configuration file: /Applications/Appcelerator/Appcelerator_Studio_3.1.1/workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/Local Node.ACS server - NodeACSProject.launch. !STACK 0 org.xml.sax.SAXParseException: Premature end of file. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174) com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388) com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1427) com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1056) com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232) com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) org.eclipse.debug.internal.core.LaunchManager.createInfoFromXML(LaunchManager.java:918) org.eclipse.debug.internal.core.LaunchManager.getInfo(LaunchManager.java:1322) org.eclipse.debug.internal.core.LaunchConfiguration.getInfo(LaunchConfiguration.java:453) org.eclipse.debug.internal.core.LaunchConfiguration.getType(LaunchConfiguration.java:614) org.eclipse.debug.internal.core.LaunchManager.getLaunchConfigurations(LaunchManager.java:1388) com.appcelerator.titanium.acs.core.ACSCorePlugin$ServerChangeListener$1.run(ACSCorePlugin.java:257) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}
Story points: 8