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 126651 - ArrayIndexOutOfBoundsException: 0
Summary: ArrayIndexOutOfBoundsException: 0
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL: http://statistics.netbeans.org/except...
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2008-02-04 21:14 UTC by tarul
Modified: 2011-06-09 09:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 4747


Attachments
stacktrace (4.55 KB, text/plain)
2008-02-04 21:14 UTC, tarul
Details
stacktrace (4.04 KB, text/plain)
2008-02-12 19:02 UTC, fincatto
Details
stacktrace (4.72 KB, text/plain)
2008-02-15 16:12 UTC, jcart12
Details
stacktrace (3.50 KB, text/plain)
2008-02-21 13:04 UTC, pinheiro
Details
stacktrace (4.72 KB, text/plain)
2008-03-05 22:10 UTC, jcart12
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tarul 2008-02-04 21:14:40 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119
OS: Mac OS X, 10.5.1, i386

User Comments: 
close tab in output window
Comment 1 tarul 2008-02-04 21:14:46 UTC
Created attachment 56013 [details]
stacktrace
Comment 2 Milos Kleint 2008-02-05 09:51:24 UTC
CloseButtontabbedPane related?
Comment 3 David Simonek 2008-02-07 15:22:41 UTC
Yes, it is related to CloseButtontabbedPane, but I'm not sure if we can do anything here, it seems to be Mac JDK error
probably.

tarul, could you please test with newer JDK if error still persist? I heard there is already JDK 1.6 available on Mac,
thanks.

Also, is the error reproducible? Could you attach steps that lead to error? Thanks.
Comment 4 fincatto 2008-02-12 19:02:31 UTC
Build: NetBeans IDE 6.0.1 (Build 200801291616)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119
OS: Mac OS X, 10.5.2, i386

User Comments: 
Comment 5 fincatto 2008-02-12 19:02:41 UTC
Created attachment 56550 [details]
stacktrace
Comment 6 Stanislav Aubrecht 2008-02-13 15:31:23 UTC
i've reproduced this bug with a similar stack trace on mac 10.5.2 too
i'd suggest closing this as a mac jdk issue
Comment 7 jcart12 2008-02-15 16:11:55 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119
OS: Mac OS X, 10.5.2, i386

User Comments: 
trying to change output tabs whilst debugging more than one application
Comment 8 jcart12 2008-02-15 16:12:06 UTC
Created attachment 56743 [details]
stacktrace
Comment 9 pinheiro 2008-02-21 13:04:36 UTC
Build: NetBeans IDE 6.0.1 (Build 200801291616)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119
OS: Mac OS X, 10.5.2, i386

User Comments: 
Closing some tabs in output window.
Comment 10 pinheiro 2008-02-21 13:04:49 UTC
Created attachment 56979 [details]
stacktrace
Comment 11 Exceptions Reporter 2008-03-04 20:20:11 UTC
This issue has already 50 duplicates 
Comment 12 David Simonek 2008-03-05 10:49:46 UTC
Stando please file a bug against Mac JDK so that we can close this issue, thanks.
Comment 13 jcart12 2008-03-05 22:10:14 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119
OS: Mac OS X, 10.5.2, i386

User Comments: 
I'm really considering moving to new IDE. This is intolerable. Window management sucks in 6.0!!!!
Comment 14 jcart12 2008-03-05 22:10:22 UTC
Created attachment 57833 [details]
stacktrace
Comment 15 David Simonek 2008-03-06 09:06:17 UTC
jcart12: I agree, quality of Apple's JDK is sometimes really intolerable, it's a shame that it hits NetBeans, but anyway.
Comment 16 Stanislav Aubrecht 2008-03-06 16:22:49 UTC
i've reproduce this bug even with a simple swing application with JTabbedPane so it's clearly an issue in apple's jdk.
(adding new tabs into tab pane until scroll button(s) are visible, then start removing the tabs one by one and then add
again...)

i've added a workaround which suppress these exceptions on mac and logs INFO level warning (no error dialog to the user)

8f7b00786e3c
Comment 17 jcart12 2008-03-28 13:44:32 UTC
Hi,
Sorry for the negative feedback, didn't realise it was a problem with the mac JDK as I hadn't seen these comments below. Again my apologies. 

However it would be nice if we could stop random debug windows opening in the first place, then I wouldn't need to close them ;-) 

What about preferences to control how new tabs are opened. I would really like to be able to suppress debug tabs opening via the preferences.

again sorry for the comments.
Comment 18 Stanislav Aubrecht 2008-03-28 17:06:42 UTC
the original problem was fixed (workaround actually) and the exception is not being thrown anymore. 
pls file a separate issue (enhancement) if you don't like the exceptions reporter window...
Comment 19 Marian Mirilovic 2011-06-09 09:56:53 UTC
v/c