org.xml.sax.SAXParseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by Clayton Headley,
  • 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.
    via by Clayton Headley,
  • Getting Premature end of file Exception
    via Stack Overflow by ramesh
    ,
  • Error while parsing xml in java
    via Stack Overflow by bHaRaTh
    ,
  • Struts 2: Send XML data to server from client?
    via Stack Overflow by Zeck
    ,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    tvrmsmith
    4 times, last one,
    Unknown visitor1 times, last one,