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 101805

Summary: GTK LF only: unable to install any module on Gem Manager
Product: ruby Reporter: Masaki Katakai <masaki>
Component: CodeAssignee: Torbjorn Norbye <tor>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:
Attachments: exception

Description Masaki Katakai 2007-04-19 16:06:33 UTC
It seems that this exception happens on only GTK L&F.

I'm using NB6.0 M8 + Ruby Pack on Solaris Nevada build 62 and JDK6u1. By
default, NetBeans starts in native GTK L&F but it fails when I try to install
module on Gem Manager

1. Start NB
2. Tools -> Ruby Gem Manager
3. Click Install New
4. Select a module
5. Click Install 

It always happens.

When I tried Swing L&F, this problem does not happen. Should we report this
to JDK side? Any workaround in NB?

	at
org.netbeans.modules.ruby.rubyproject.gems.InstallationSettingsPanel.getName(InstallationSettingsPanel.java:68)
	at com.sun.java.swing.plaf.gtk.GTKStyle.getInsets(GTKStyle.java:263)
	at javax.swing.plaf.synth.SynthStyle.installDefaults(SynthStyle.java:876)

....
Comment 1 Masaki Katakai 2007-04-19 16:08:34 UTC
Created attachment 41265 [details]
exception
Comment 2 Torbjorn Norbye 2007-04-19 20:11:39 UTC
Fixed. The method getName() in InstallationSettingsPanel was accidentally overriding a method in a 
superclass, and that method appears to be used during initialization in GTK - not in the other L&F's.
Comment 3 Masaki Katakai 2007-04-19 23:52:30 UTC
Thank you very much for quick fixing!! I'll try to verify the fix at M9.
Comment 4 Jiri Kovalsky 2007-07-03 14:01:32 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 5 Jiri Kovalsky 2007-07-03 14:44:10 UTC
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.