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.
Build: NetBeans IDE 6.5 Beta (Build 200808111757) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows XP, 5.1, x86 User Comments: dkaris: On the "Ruby Platforms Dialog", I clicked on "Install Fast Debugger" into my Ruby 1.8.6 native ruby installation GUEST: i was trying to install a fast debugger to the ruby platfrom that i manually added.... dkaris: On the "Ruby Platforms Dialog", I clicked on "Install Fast Debugger" into my Ruby 1.8.6 native ruby installation Stacktrace: java.lang.NullPointerException at java.io.File.<init>(File.java:222) at org.netbeans.modules.ruby.platform.gems.GemRunner.runGemTool(GemRunner.java:332) at org.netbeans.modules.ruby.platform.gems.GemRunner.access$100(GemRunner.java:75) at org.netbeans.modules.ruby.platform.gems.GemRunner$2.run(GemRunner.java:510) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Created attachment 72157 [details] stacktrace
My ruby\bin directory contained a "gem.rb" but did not contain a "gem" or "gem.bat" file. I created "gem" as a copy of "gem.rb" and "gem.bat" as @ECHO OFF @"ruby.exe" "%~dpn0" %* This resolved the problem. Note also, that before this change, the "Ruby Platforms" dialog showed my Gem Tool as "null (1.2.0)"; after this change it showed "c:\ruby\bin\gem (1.2.0)"
This might get fixed in 6.5 RC1 (http://www.netbeans.org/community/releases/65/). But I've committed several robustness fixes in Changeset #25ee45dfeb59). Thus setting TM to 7.0. Commit log: Introducing RubyPlatformValidator, relaxing RubyPlatform, more robustness, less copy-paste.