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 136930 - Debug focused rspec with UI test runner causes NPE
Summary: Debug focused rspec with UI test runner causes NPE
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Testing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-10 15:59 UTC by Erno Mononen
Modified: 2008-06-17 09:56 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 Erno Mononen 2008-06-10 15:59:10 UTC
Debug focused and debug file in an rspec test cause the following NPE with the UI test runner:

java.lang.NullPointerException
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:441)
        at org.rubyforge.debugcommons.RubyDebuggerFactory.startDebugger(RubyDebuggerFactory.java:151)
        at org.rubyforge.debugcommons.RubyDebuggerFactory.startRubyDebug(RubyDebuggerFactory.java:126)
        at org.netbeans.modules.ruby.debugger.RubyDebugger.startDebugging(RubyDebugger.java:193)
        at org.netbeans.modules.ruby.debugger.RubyDebugger.debug(RubyDebugger.java:104)
        at org.netbeans.modules.ruby.platform.execution.ExecutionService$2.run(ExecutionService.java:291)

Debug test (ctrl-shift-f6) however works.
Comment 1 Erno Mononen 2008-06-17 09:56:30 UTC
Fixed a while ago, #6b25cd80c476.