This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 122080 - [DBG] NPE on Run To Cursor
Summary: [DBG] NPE on Run To Cursor
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-16 07:14 UTC by Ivan Sidorkin
Modified: 2007-12-07 16:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2007-11-16 07:14:32 UTC
- create php priject
- type in index.php next code:
<HTML>
<BODY>
<?php
    print "test1";
            
    print "test2";
?>
</BODY>
</HTML>

- set breakpoints to two lines with "print"
- debug project
- debugger stopped at first breakopint
- press Run To Cursor button on toolbar

java.lang.NullPointerException
	at org.netbeans.modules.php.dbgp.packets.BrkpntSetResponse.process(BrkpntSetResponse.java:84)
	at org.netbeans.modules.php.dbgp.DebugSession.handleMessage(DebugSession.java:279)
	at org.netbeans.modules.php.dbgp.DebugSession.receiveData(DebugSession.java:254)
	at org.netbeans.modules.php.dbgp.DebugSession.sendCommands(DebugSession.java:230)
	at org.netbeans.modules.php.dbgp.DebugSession.run(DebugSession.java:94)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 Denis Anisimov 2007-11-16 10:16:59 UTC
    Checking in php/debugger/src/org/netbeans/modules/php/dbgp/packets/BrkpntSetResponse.java;
    /cvs/scripting/php/debugger/src/org/netbeans/modules/php/dbgp/packets/BrkpntSetResponse.java,v  <-- 
BrkpntSetResponse.java
    new revision: 1.5; previous revision: 1.4
    done
Comment 2 Ivan Sidorkin 2007-11-23 13:42:45 UTC
verified