java.lang.NullPointerException

xdebug.org | 2 weeks ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    MantisBT

    xdebug.org | 2 weeks ago
    java.lang.NullPointerException
  2. 0

    MantisBT

    xdebug.org | 2 weeks ago
    java.lang.NullPointerException
  3. 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
    java.lang.NegativeArraySizeException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
    java.lang.NegativeArraySizeException

    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. java.lang.NullPointerException

      No message provided

      at org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpStringValue.<init>()
    2. org.eclipse.php
      DBGpStackFrame.getVariables
      1. org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpStringValue.<init>(DBGpStringValue.java:39)
      2. org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVariable.parseProperty(DBGpVariable.java:75)
      3. org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVariable.<init>(DBGpVariable.java:44)
      4. org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpContainerValue.parseData(DBGpContainerValue.java:97)
      5. org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpContainerValue.<init>(DBGpContainerValue.java:37)
      6. org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVariable.parseProperty(DBGpVariable.java:83)
      7. org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVariable.<init>(DBGpVariable.java:44)
      8. org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpTarget.parseVarResp(DBGpTarget.java:1210)
      9. org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpTarget.getContextLocalVars(DBGpTarget.java:1123)
      10. org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpTarget.getContextAtLevel(DBGpTarget.java:1177)
      11. org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpTarget.getVariables(DBGpTarget.java:1158)
      12. org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpStackFrame.getVariables(DBGpStackFrame.java:148)
      12 frames
    3. org.eclipse.debug
      ElementContentProvider$2.run
      1. org.eclipse.debug.internal.ui.model.elements.StackFrameContentProvider.getAllChildren(StackFrameContentProvider.java:51)
      2. org.eclipse.debug.internal.ui.model.elements.StackFrameContentProvider.getChildCount(StackFrameContentProvider.java:28)
      3. org.eclipse.debug.internal.ui.model.elements.ElementContentProvider.retrieveChildCount(ElementContentProvider.java:114)
      4. org.eclipse.debug.internal.ui.model.elements.ElementContentProvider$2.run(ElementContentProvider.java:63)
      4 frames
    4. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame