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 131466

Summary: NullPointerException at java.util.AbstractMap.putAll
Product: ruby Reporter: macdevtips <macdevtips>
Component: PlatformAssignee: Martin Krauskopf <mkrauskopf>
Status: RESOLVED FIXED    
Severity: blocker Keywords: SIMPLEFIX
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=41450
Issue Type: DEFECT Exception Reporter: 41450
Attachments: stacktrace

Description macdevtips 2008-03-28 21:33:00 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119
OS: Mac OS X, 10.5.2, i386

User Comments: 
Trying to use local install of Ruby and rb-appscript (Ruby apple event bridge). 

I changed the reference to the ruby interpreter to:

/opt/local/bin/ruby

You can read more about what I am trying to work with by visiting this post:

http://macdevelopertips.com/ruby/ruby-an-applescript-alternative-part-1.html

BTW, I was able to get this to work with NB 6.0.1

Thanks and a great tool, BTW!

John Muchow
(former NetBeans Mobility architect :)
Comment 1 macdevtips 2008-03-28 21:33:04 UTC
Created attachment 59320 [details]
stacktrace
Comment 2 Martin Krauskopf 2008-03-28 22:34:19 UTC
Hi John. Could you try the latest continuous build:

http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-HowDoIGetTheContinuousBuilds

It should be stable enough (we are close to code-freeze). And if you are still stable to reproduce, could you run
NetBeans with turned logging on:

http://wiki.netbeans.org/FaqRubyNBLogging

and attach the log here. Thanks for the feedback.
Comment 3 Martin Krauskopf 2008-03-28 23:26:06 UTC
John contacted me personally. It's due to the interpreter without RubyGems. Having fix, but will commit during weekend.
Comment 4 macdevtips 2008-03-28 23:37:37 UTC
Works with the updated jar file. Thanks for the quick fix!
Comment 5 Martin Krauskopf 2008-03-28 23:40:36 UTC
It's not fixed in trunk yet.
Comment 6 Martin Krauskopf 2008-03-29 21:18:33 UTC
Fixed in trunk: 72684ab1754e