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 - NullPointerException at org.netbeans.modules.ruby.railsprojects.classpath.BootClassPathImplementation.getGemManager
Summary: NullPointerException at org.netbeans.modules.ruby.railsprojects.classpath.Boo...
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Gems (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-31 12:01 UTC by ajasja
Modified: 2008-01-07 23:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 17835


Attachments
stacktrace (1.90 KB, text/plain)
2007-12-31 12:01 UTC, ajasja
Details
Ruby gems error for built in platform (19.50 KB, image/png)
2008-01-07 22:08 UTC, ajasja
Details

Note You need to log in before you can comment on or make changes to this bug.
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:)