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 124535

Summary: NullPointerException at org.netbeans.modules.ruby.railsprojects.classpath.BootClassPathImplementation.getGemManager
Product: ruby Reporter: ajasja <ajasja>
Component: GemsAssignee: Torbjorn Norbye <tor>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=17835
Issue Type: DEFECT Exception Reporter: 17835
Attachments: stacktrace
Ruby gems error for built in platform

Description ajasja 2007-12-31 12:01:33 UTC
Build: NetBeans Ruby IDE 20071230224200
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 
Started the IDE.
Comment 1 ajasja 2007-12-31 12:01:37 UTC
Created attachment 54577 [details]
stacktrace
Comment 2 Martin Krauskopf 2008-01-06 20:42:46 UTC
There were some robustness fixes recently and also the mentioned class was changed and refactored in trunk. Let us know
if you are able to reproduce similar problem with 6.1 dev builds. Thanks.
Comment 3 ajasja 2008-01-07 22:07:57 UTC
I created a project which uses the native platform. Then I ran the IDE with an empty user dir and opened the same
project. There were no nil pointers and the IDE defaulted gracefully to the built in platform.
The plugins dialog works much better as well.
But I still can't install any gems for the Built in platform:

Nothing found: Network problem? Check NetBeans proxy settings.
D:/ruby_IDEs/nbrubyide/ruby1/jruby-1.0.3/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:34:in `require': no such file
to load -- sources (LoadError)
from D:/ruby_IDEs/nbrubyide/ruby1/jruby-1.0.3/lib/ruby/site_ruby/1.8/rubygems.rb:112:in `manage_gems' from: 1
(screen shot attached)
 
Product Version: NetBeans Ruby IDE 20080106201418
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06
System: Windows XP version 5.1 running on x86; Cp1250; sl_SI (nbrubyide)
Userdir: D:\tmp\test
Comment 4 ajasja 2008-01-07 22:08:49 UTC
Created attachment 54777 [details]
Ruby gems error for built in platform
Comment 5 Martin Krauskopf 2008-01-07 22:29:23 UTC
> But I still can't install any gems for the Built in platform:

This is tracked in the issue 124253. You might CC yourself there to track the progress.
Comment 6 ajasja 2008-01-07 23:50:34 UTC
Thanks, I did:)