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.
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.
Created attachment 300 [details] system/ide.log version info + exception
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.
Created attachment 301 [details] system/ide.log with startup exception
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?
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.
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?
[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.
Resolved for 3.4.x or earlier, no new info since then -> verified.
Resolved for 3.4.x or earlier, no new info since then -> closing.