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 - GTK LF only: unable to install any module on Gem Manager
Summary: GTK LF only: unable to install any module on Gem Manager
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-19 16:06 UTC by Masaki Katakai
Modified: 2007-07-03 14:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (6.43 KB, application/octet-stream)
2007-04-19 16:08 UTC, Masaki Katakai
Details

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