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 138440 - Exception while running/debugging tests on Win
Summary: Exception while running/debugging tests on Win
Status: VERIFIED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Testing (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P1 blocker (vote)
Assignee: Erno Mononen
URL: http://wiki.netbeans.org/TS_61_RubyDe...
Keywords:
: 137981 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-27 08:06 UTC by polan
Modified: 2008-07-01 16:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Debugger output for Built-in JRuby (1.30 KB, text/plain)
2008-06-27 08:11 UTC, polan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description polan 2008-06-27 08:06:53 UTC
[NetBeans 6.5M1, Build 200806270102, JDK 1.6.0]

This was found when testing http://wiki.netbeans.org/TS_61_RubyDebugger Ruby Debugger - Section 3. 
Not being Ruby positive, I'm not sure if this is a valid issue.

To reproduce:
1) Create new Ruby Application project
2) Create new Ruby test unit for main.rb with default values
3) Debug 'main_test.rb'
  ERROR: When using Built-in JRuby 1.1.2 platform, debugger outputs an error (attached)
  NOTE: No error on Ruby 1.8.6-p11
Comment 1 polan 2008-06-27 08:11:00 UTC
Created attachment 63576 [details]
Debugger output for Built-in JRuby
Comment 2 Erno Mononen 2008-06-27 08:23:37 UTC
Taking over, seems to be an issue in the test runner mediator.
Comment 3 Erno Mononen 2008-06-30 15:40:11 UTC
Fixed, changeset #4dcf83173354. Raising to P2 since the issue affected also running tests (on MRI too).
Comment 4 Erno Mononen 2008-06-30 15:43:32 UTC
*** Issue 137981 has been marked as a duplicate of this issue. ***
Comment 5 Erno Mononen 2008-06-30 17:10:09 UTC
Raising to P1, should be fixed in the M1 clone too.
Comment 6 Martin Schovanek 2008-06-30 17:58:52 UTC
Verified on my Win XP box.
Comment 7 Erno Mononen 2008-06-30 19:19:21 UTC
I pushed an additional fix to handle some Windows versions, changeset cc169550825c.
Comment 8 Quality Engineering 2008-07-01 04:47:50 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #292 build
Changeset: http://hg.netbeans.org/main/rev/4dcf83173354
User: Erno Mononen <emononen@netbeans.org>
Log: #138440: Debugger error for unit test on JRuby platform
Comment 9 Martin Schovanek 2008-07-01 16:33:24 UTC
Additional fix verified.
Comment 10 Erno Mononen 2008-07-01 16:58:03 UTC
Transplanted as ea04138737a6 and bbbee82276f9.