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 8384 - ArrayIndexOutOfBoundsException while trying to open form object
Summary: ArrayIndexOutOfBoundsException while trying to open form object
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 major (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-13 01:16 UTC by Scott Stark
Modified: 2008-12-22 15:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
system/ide.log version info + exception (15.63 KB, text/plain)
2001-07-20 20:40 UTC, Scott Stark
Details
system/ide.log with startup exception (5.48 KB, text/plain)
2001-07-20 20:40 UTC, Scott Stark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Stark 2000-11-13 01:16:35 UTC
While trying to open a ui form created by forte from the explorer I received an
ArrayIndexOutOfBoundsException and the form failed to open in the form editor.
This is a form that I had opened the java source for using the new edit action.
Closing the source did not resolve the problem. I had restart forte to
clear the problem.
Comment 1 Scott Stark 2000-11-13 01:17:59 UTC
Created attachment 300 [details]
system/ide.log version info + exception
Comment 2 Scott Stark 2000-11-13 01:28:59 UTC
Actually, restring forte did not clear the problem. I am still unable to
open this form object completely. The problem seems to be ocurring with all
form objects. Sometimes they do open, but when they do there is no component
inspector tab in the properties view.
Comment 3 Scott Stark 2000-11-13 01:29:59 UTC
Created attachment 301 [details]
system/ide.log with startup exception
Comment 4 Scott Stark 2000-11-13 02:39:59 UTC
The problem is associated with the project files. I reinstalled a clean
version of 3.1b4 and imported the project I was working on and as soon
as I did the exception started occuring. I can't use the form editor for
anything in this project. Is there some file(s) from the project you want
to look at?
Comment 5 Tomas Pavek 2000-11-13 16:18:59 UTC
I tried to reproduce it but didn't succeed... Maybe we will need more detailed
description of your steps.
Anyway - looking to stacktrace and source code - it looks like a bug in
JTabbedPane.insertTab(...) - if the tab already exists, it is removed and then
tried to add to non-existing position... I think MultiTabContainer could do
some check - to not add an existing tab. So I'm redirecting this bug to core.
Comment 6 Scott Stark 2000-11-13 17:10:59 UTC
Getting the ide into this state is not reproducible. The data that
causes the problem once this state has been achieved is in one or
more of the project files. Do you need these attached?
Comment 7 David Simonek 2001-01-17 17:03:59 UTC
[dafe - 17.01.2000] Should be fixed now, was caused by the fact that form was
opened in non-AWT thread. workspace.activate() should be thread safe now.
Comment 8 Quality Engineering 2003-07-01 16:02:45 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

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