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 32194 - java.lang.ClassCastException on selecting "Tools" -> "Options"
Summary: java.lang.ClassCastException on selecting "Tools" -> "Options"
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: Macintosh Mac OS X
: P1 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-21 16:27 UTC by kbatizy
Modified: 2008-12-23 11:37 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Log of exception (13.72 KB, text/plain)
2003-03-21 16:28 UTC, kbatizy
Details
Patch for S1S 4.1 (44.21 KB, application/octet-stream)
2003-03-28 10:30 UTC, mslama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kbatizy 2003-03-21 16:27:15 UTC
IDE throws a  java.lang.ClassCastException on
selecting "Tools" -> "Options" from the menu.

IDE is launched from NetBeans launcher 1.3 with
Aqua look and feel fontsize=11.

DOES NOT OCCUR WITH METAL L&F, so could be a bug
with JDK?
Comment 1 kbatizy 2003-03-21 16:28:15 UTC
Created attachment 9485 [details]
IDE Log of exception
Comment 2 _ ttran 2003-03-21 21:45:08 UTC
Can you reliably reproduce the bug?  Please also test if the same
issue happens with the latest NB 3.5-dev build.  Thanks for info
Comment 3 kbatizy 2003-03-21 21:59:33 UTC
Yes, this bug is reproducable ALWAYS.

I simply click Tools, Options, and always get the exception.

I will test on NB 3.5-dev build this weekend.
Comment 4 kbatizy 2003-03-21 22:00:42 UTC
One more piece of info, I am running in MDI mode.
Comment 5 Tomas Hurka 2003-03-24 08:05:51 UTC
I cannot reproduce it in NB 3.5.
Comment 6 mslama 2003-03-24 09:38:43 UTC
This is already fixed long time ago in main trunk
MultiTabbedContainerImpl r.1.33, 11 Apr 2002. There was private field
to store UI of type BasicTabbedPaneUI and apparently there is no
BasicTabbedPaneUI in Mac OS X. They directly implement TabbedPaneUI
Comment 7 mslama 2003-03-24 09:42:09 UTC
If it is important for you to run S1S 4.1 on Mac OS X I could try to
create patch.
Comment 8 mslama 2003-03-28 10:29:21 UTC
As they was no problem with suggested patch for S1S 4.1 (or NB 3.3.2)
I will attach patch here. Simply place it to lib/patches.
Comment 9 mslama 2003-03-28 10:30:15 UTC
Created attachment 9587 [details]
Patch for S1S 4.1