Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-4890

Node.ACS Debugger: intermittent fail to connect with Premature end of file

    Details

    • Story Points:
      8

      Description

      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.

      !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.
      	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.getLaunchConfigurations(LaunchManager.java:1388)
      	at com.appcelerator.titanium.acs.core.ACSCorePlugin$ServerChangeListener$1.run(ACSCorePlugin.java:257)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sgibly Shalom Gibly
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: