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 34284

Summary: ArrayIndexOutOfBoundsException switching workspaces
Product: platform Reporter: jasonhh0310 <jasonhh0310>
Component: Window SystemAssignee: Tomas Hurka <thurka>
Status: VERIFIED WONTFIX    
Severity: blocker CC: andygen, baysystems, inertia, jjsban, koyeung, mslama, pzavadsky
Priority: P3 Keywords: JDK_SPECIFIC, L&F
Version: 3.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log file

Description jasonhh0310 2003-06-11 00:09:48 UTC
Switching workspaces using the Aqua look and feel causes an 
ArrayIndexOutOfBoundsException to be thrown. 

To reproduce start the IDE using the Aqua L&F. Open any project and then switch 
between the workspace using the menu tabs.

Using the Metal L&F appears to be a temporary workaround, as it works as expected.
Comment 1 jasonhh0310 2003-06-11 00:10:39 UTC
Created attachment 10644 [details]
IDE log file
Comment 2 Tomas Hurka 2003-06-25 11:24:30 UTC
*** Issue 34076 has been marked as a duplicate of this issue. ***
Comment 3 Tomas Hurka 2003-06-25 13:20:16 UTC
*** Issue 34571 has been marked as a duplicate of this issue. ***
Comment 4 inertia 2003-07-03 20:58:01 UTC
I'm 99% sure that adding the following line to ide.cfg improves the stability of the 
NetBeans IDE when switching workspaces.  It's not perfect after adding it, but it seems 
to improve.

-J-Dapple.laf.useScreenMenuBar=true

Hope that helps.
Comment 5 Tomas Hurka 2003-07-10 09:28:55 UTC
*** Issue 34761 has been marked as a duplicate of this issue. ***
Comment 6 Tomas Hurka 2003-07-10 09:35:18 UTC
*** Issue 34849 has been marked as a duplicate of this issue. ***
Comment 7 Tomas Hurka 2003-07-10 09:38:37 UTC
Hopefully, I will be able to fix it in a week or so.
Comment 8 Tomas Hurka 2003-08-11 14:46:15 UTC
*** Issue 35198 has been marked as a duplicate of this issue. ***
Comment 9 Jan Chalupa 2003-11-03 17:09:55 UTC
*** Issue 34761 has been marked as a duplicate of this issue. ***
Comment 10 Marian Mirilovic 2003-11-26 12:59:35 UTC
Because Window System v1 will not be supported from now by our team, all old
winsys issues (now "core/window system v1" issues) are going to be closed as
WONTFIX. 

Changes in API which emerged both from UI spec 
and problems with adjusting to the older API are described in the document
http://core.netbeans.org/windowsystem/changes.html.
 It shows also recommends how the client code should be adjusted to the new
window system.

If you think this issue apply also to the new winsys then change the
subcomponent (to "core/window system") and REOPEN it.
Comment 11 Tomas Hurka 2003-12-16 09:56:41 UTC
I cannot reproduce it with latest JDK 1.4.2 DP1 release and NB 3.5.1. So it seems to be 
fixed in new 
JDK.
Comment 12 Tomas Hurka 2003-12-16 10:55:50 UTC
*** Issue 38136 has been marked as a duplicate of this issue. ***
Comment 13 Tomas Hurka 2004-01-21 08:02:09 UTC
*** Issue 38785 has been marked as a duplicate of this issue. ***
Comment 14 Marian Mirilovic 2004-02-27 14:13:31 UTC
issue doesn't apply to new window system - verified
Comment 15 Quality Engineering 2008-12-23 14:33:04 UTC
This issue had *4 votes* before move to platform component