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 137981 - undefined method error from nb_test_mediator.rb when debugging
Summary: undefined method error from nb_test_mediator.rb when debugging
Status: RESOLVED DUPLICATE of bug 138440
Alias: None
Product: ruby
Classification: Unclassified
Component: Testing (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks: 132548
  Show dependency tree
 
Reported: 2008-06-23 15:13 UTC by Erno Mononen
Modified: 2008-06-30 15:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project (6.16 KB, text/plain)
2008-06-24 15:05 UTC, villagehymn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2008-06-23 15:13:30 UTC
Separated from issue 132548: 

Hi,

With Ruby 1.8.6 and overnight build 200806230002 I get this error printed out when I try to debug:

C:\Program Files\NetBeans Dev 200806230002\ruby2\nb_test_mediator.rb:90:in `add_to_suites': undefined method `+' for
nil:NilClass (NoMethodError)
	from C:\Program Files\NetBeans Dev 200806230002\ruby2\nb_test_mediator.rb:66:in `parse_args'
	from C:\Program Files\NetBeans Dev 200806230002\ruby2\nb_test_mediator.rb:59:in `loop'
	from C:\Program Files\NetBeans Dev 200806230002\ruby2\nb_test_mediator.rb:59:in `parse_args'
	from C:\Program Files\NetBeans Dev 200806230002\ruby2\nb_test_mediator.rb:121:in `run_mediator'
	from C:\Program Files\NetBeans Dev 200806230002\ruby2\nb_test_mediator.rb:187
	from c:/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.1.10/lib/ruby-debug.rb:90:in `debug_load'
	from c:/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.1.10/lib/ruby-debug.rb:90:in `main'
	from c:/ruby/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.1.10/bin/rdebug-ide:74
	from C:/ruby/bin/rdebug-ide:16:in `load'
	from C:/ruby/bin/rdebug-ide:16

I don't get this with build 200804211638

Cheers,

Greg
Comment 1 Erno Mononen 2008-06-23 15:16:39 UTC
Greg, could you please attach the whole project (or a stripped down version if needed, but so that the directory 
structure and nbproject folder are preserved)? Your scenario seems to work for me.
Comment 2 villagehymn 2008-06-24 15:05:04 UTC
Created attachment 63344 [details]
sample project
Comment 3 villagehymn 2008-06-24 15:06:09 UTC
Stripped down version of the project attached. Same error occurs for me.

Cheers,

Greg
Comment 4 Erno Mononen 2008-06-30 15:43:37 UTC
Thanks, turns out this is Windows specific so that's why I had problems in reproducing this. Should be fixed now, 
closing as a duplicate of issue 138440 where I pasted the changeset # (it's basically the same issue). It'll take a 
couple of hours before the fix is integrated into continuous builds.

*** This issue has been marked as a duplicate of 138440 ***