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 25244 - ArrayIndexOutOfBounds exception, welcome screen strange behaviour
Summary: ArrayIndexOutOfBounds exception, welcome screen strange behaviour
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-27 18:48 UTC by Jan Lahoda
Modified: 2008-12-23 09:37 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The IDE log (contains the exceptions). (11.78 KB, text/plain)
2002-06-27 18:49 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2002-06-27 18:48:59 UTC
build 200206260100, JDK1.4fcs, MDI.
1. Start IDE from a brand new user directory
2. Do *not* close the welcome screen.
3. Open ClockFrame example (in editing mode).
4. Start debugger (F7) on it.
5. You are switched to Debugging workspace. The
welcome screen undocked outside the MDI frame
(!!!) (this happens at least sometimes).
6. Close the editor, and if the welcome screen is
undocked, close it too.
7. Switch back to editing workspace. The welcome
screen is always open (even in case it was in step
5 docked in editor, and you close the editor).
8. Open the ClockFrame (in editing mode) again.
9. Stop the debugger.
10. Start it again (F7).
11. Two ArrayIndexOutOfBoundsException exceptions
occur (attached is 
whole IDE log).

I reproduced it also with not new userdir, and it
seems to be (at least partialy) related to welcome
screen.
Comment 1 Jan Lahoda 2002-06-27 18:49:55 UTC
Created attachment 6474 [details]
The IDE log (contains the exceptions).
Comment 2 Peter Zavadsky 2002-06-28 08:44:35 UTC
It seems it's either a race condition (JTabbedPane#getSelectedIndex
and remove method shouldn't produce AIIOOBE in single thread model) or
a bug in JTabbedPane. The first seems to be the case. Will investigate.
Comment 3 Peter Zavadsky 2002-06-28 09:43:48 UTC
I reproduced it on jdk1.4.0, but not on jdk1.4.1.
Comment 4 Peter Zavadsky 2002-06-28 10:41:49 UTC
Well it was only once I reproduced it, so I can't figure out the
problem. Anyway also some strange effect saw once, also the closed
ClockFrame when switched back to Editing was shown as a tab but the
component was not visible. All on jdk1.4.0.
Comment 5 Peter Zavadsky 2002-06-28 12:19:03 UTC
Can't reprocuce (only the one occurence) -> decreasing the priority.
Please let me know if you are able reproduce it on your machine, I'd
like to debug there in that case.
Comment 6 Peter Zavadsky 2002-07-08 10:17:53 UTC
Now the welcome window doesn't act that way anymore (Marek fixed those
problems with it). Closing this as worksforme, the issue could be
related to the welcome window problems.
Comment 7 Quality Engineering 2003-07-01 15:54:39 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 8 Quality Engineering 2003-07-01 16:41:22 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.