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

Appcelerator JIRA | Clayton Headley | 4 years ago
  1. 0

    Starting around 2:20 pm PST 8/28/2012, while working in Titanium Studio, build: 2.2.0.201208272345 I started seeing the following on all three OS (Win7, Ubuntu 12.04 and Mac OS 10.8.1): A popup error reading "Incompatible debugger version: The remote debugger version might not match the expected protocol verison (2006040705). The following was in the log: {noformat} !ENTRY com.aptana.php.debug.epl 4 0 2012-08-28 14:21:46.587 !MESSAGE (Build 2.2.0.201208272345) [ERROR] com.aptana.php.debug/debug Unexpected Exception: Listener thread still listening !STACK 0 java.lang.NegativeArraySizeException at org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession.readResponse(DBGpSession.java:490) at org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession.<init>(DBGpSession.java:91) at org2.eclipse.php.internal.debug.core.xdebug.communication.XDebugCommunicationDaemon.startConnectionThread(XDebugCommunicationDaemon.java:166) at org2.eclipse.php.internal.debug.core.daemon.AbstractDebuggerCommunicationDaemon$ReceiverThread.run(AbstractDebuggerCommunicationDaemon.java:244) at java.lang.Thread.run(Unknown Source) !ENTRY com.aptana.php.debug.epl 4 4 2012-08-28 14:21:51.634 !MESSAGE class org2.eclipse.php.internal.debug.core.xdebug.dbgp.protocol.DBGpResponse : org.xml.sax.SAXParseException: Premature end of file. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org2.eclipse.php.internal.debug.core.xdebug.dbgp.protocol.DBGpResponse.parseResponse(DBGpResponse.java:207) at org2.eclipse.php.internal.debug.core.xdebug.dbgp.protocol.DBGpResponse.parseResponse(DBGpResponse.java:193) at org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession.<init>(DBGpSession.java:94) at org2.eclipse.php.internal.debug.core.xdebug.communication.XDebugCommunicationDaemon.startConnectionThread(XDebugCommunicationDaemon.java:166) at org2.eclipse.php.internal.debug.core.daemon.AbstractDebuggerCommunicationDaemon$ReceiverThread.run(AbstractDebuggerCommunicationDaemon.java:244) at java.lang.Thread.run(Unknown Source) !ENTRY com.aptana.php.debug.epl 4 4 2012-08-28 14:21:51.637 !MESSAGE class org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession : Init response not received. XML=[B@12b9c6d !ENTRY com.aptana.php.debug.epl 4 4 2012-08-28 14:22:06.604 !MESSAGE class org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession : Unexpected null from readResponse waiting for Init !ENTRY com.aptana.php.debug.epl 4 4 2012-08-28 14:22:06.606 !MESSAGE class org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession : Unexpected null from readResponse waiting for Init !ENTRY com.aptana.php.debug.epl 4 4 2012-08-28 14:22:06.641 !MESSAGE class org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession : Unexpected null from readResponse waiting for Init !ENTRY com.aptana.php.debug.epl 4 150 2012-08-28 14:24:59.441 !MESSAGE Incompatible debugger version. The remote debugger version might not match the expected protocol version (2006040705). {noformat} No idea what caused the issue but it spawned a large number of pop up errors. Errors stopped appearing around 2:35 PM PST 8/28/2012. I was unable to find a specific reproduction case.

    Appcelerator JIRA | 4 years ago | Clayton Headley
    org.xml.sax.SAXParseException: Premature end of file.
  2. 0

    Starting around 2:20 pm PST 8/28/2012, while working in Titanium Studio, build: 2.2.0.201208272345 I started seeing the following on all three OS (Win7, Ubuntu 12.04 and Mac OS 10.8.1): A popup error reading "Incompatible debugger version: The remote debugger version might not match the expected protocol verison (2006040705). The following was in the log: {noformat} !ENTRY com.aptana.php.debug.epl 4 0 2012-08-28 14:21:46.587 !MESSAGE (Build 2.2.0.201208272345) [ERROR] com.aptana.php.debug/debug Unexpected Exception: Listener thread still listening !STACK 0 java.lang.NegativeArraySizeException at org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession.readResponse(DBGpSession.java:490) at org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession.<init>(DBGpSession.java:91) at org2.eclipse.php.internal.debug.core.xdebug.communication.XDebugCommunicationDaemon.startConnectionThread(XDebugCommunicationDaemon.java:166) at org2.eclipse.php.internal.debug.core.daemon.AbstractDebuggerCommunicationDaemon$ReceiverThread.run(AbstractDebuggerCommunicationDaemon.java:244) at java.lang.Thread.run(Unknown Source) !ENTRY com.aptana.php.debug.epl 4 4 2012-08-28 14:21:51.634 !MESSAGE class org2.eclipse.php.internal.debug.core.xdebug.dbgp.protocol.DBGpResponse : org.xml.sax.SAXParseException: Premature end of file. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org2.eclipse.php.internal.debug.core.xdebug.dbgp.protocol.DBGpResponse.parseResponse(DBGpResponse.java:207) at org2.eclipse.php.internal.debug.core.xdebug.dbgp.protocol.DBGpResponse.parseResponse(DBGpResponse.java:193) at org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession.<init>(DBGpSession.java:94) at org2.eclipse.php.internal.debug.core.xdebug.communication.XDebugCommunicationDaemon.startConnectionThread(XDebugCommunicationDaemon.java:166) at org2.eclipse.php.internal.debug.core.daemon.AbstractDebuggerCommunicationDaemon$ReceiverThread.run(AbstractDebuggerCommunicationDaemon.java:244) at java.lang.Thread.run(Unknown Source) !ENTRY com.aptana.php.debug.epl 4 4 2012-08-28 14:21:51.637 !MESSAGE class org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession : Init response not received. XML=[B@12b9c6d !ENTRY com.aptana.php.debug.epl 4 4 2012-08-28 14:22:06.604 !MESSAGE class org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession : Unexpected null from readResponse waiting for Init !ENTRY com.aptana.php.debug.epl 4 4 2012-08-28 14:22:06.606 !MESSAGE class org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession : Unexpected null from readResponse waiting for Init !ENTRY com.aptana.php.debug.epl 4 4 2012-08-28 14:22:06.641 !MESSAGE class org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession : Unexpected null from readResponse waiting for Init !ENTRY com.aptana.php.debug.epl 4 150 2012-08-28 14:24:59.441 !MESSAGE Incompatible debugger version. The remote debugger version might not match the expected protocol version (2006040705). {noformat} No idea what caused the issue but it spawned a large number of pop up errors. Errors stopped appearing around 2:35 PM PST 8/28/2012. I was unable to find a specific reproduction case.

    Appcelerator JIRA | 4 years ago | Clayton Headley
    org.xml.sax.SAXParseException: Premature end of file.
  3. 0

    Getting Premature end of file Exception

    Stack Overflow | 5 years ago | ramesh
    org.xml.sax.SAXParseException: Premature end of file.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error while parsing xml in java

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

    Struts 2: Send XML data to server from client?

    Stack Overflow | 6 years ago | Zeck
    org.xml.sax.SAXParseException: Premature end of file.

    2 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.parsers.DOMParser.parse()
    2. Java RT
      DocumentBuilder.parse
      1. com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
      2. com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      3. javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
      3 frames
    3. org2.eclipse.php
      AbstractDebuggerCommunicationDaemon$ReceiverThread.run
      1. org2.eclipse.php.internal.debug.core.xdebug.dbgp.protocol.DBGpResponse.parseResponse(DBGpResponse.java:207)
      2. org2.eclipse.php.internal.debug.core.xdebug.dbgp.protocol.DBGpResponse.parseResponse(DBGpResponse.java:193)
      3. org2.eclipse.php.internal.debug.core.xdebug.dbgp.session.DBGpSession.<init>(DBGpSession.java:94)
      4. org2.eclipse.php.internal.debug.core.xdebug.communication.XDebugCommunicationDaemon.startConnectionThread(XDebugCommunicationDaemon.java:166)
      5. org2.eclipse.php.internal.debug.core.daemon.AbstractDebuggerCommunicationDaemon$ReceiverThread.run(AbstractDebuggerCommunicationDaemon.java:244)
      5 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame