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 33998 - When many tabs open, closing will cause IAExp then file cannot be opened again
Summary: When many tabs open, closing will cause IAExp then file cannot be opened again
Status: CLOSED DUPLICATE of bug 28090
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-29 04:26 UTC by rsk
Modified: 2008-12-23 09:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file from IDE (38.35 KB, text/plain)
2003-05-29 04:55 UTC, rsk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rsk 2003-05-29 04:26:18 UTC
When lots of files are open (about 15) then I click 
the 'X' in the top right of the editor window to close 
them ALL. Occasionally 1 file won't close and will throw a 
IllegalArgumentException with the following stack trace:

----------------------------
java.lang.IllegalArgumentException: Cannot set student [Up-
to-date; 1.1.1.1] as selected. It's not present in the 
container.
	at 
org.netbeans.core.windows.frames.DefaultContainerImpl.setSe
lectedTopComponent(DefaultContainerImpl.java:923)
[catch] at 
org.netbeans.core.windows.frames.TabHandlePopupListener$1.r
un(TabHandlePopupListener.java:112)
	at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent
(EventQueue.java:448)
	at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:197)
	at 
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:144)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:136)
	at java.awt.EventDispatchThread.run
(EventDispatchThread.java:99)
----------------------------

And the tab will not disappear but the window is empty 
(i.e. the file contents are not being shown).

The problem here is that you not cannot open the file that 
had BEEN in that tab, or else it will cause an index array 
out of bounds exception > 1 I think it is. This exception 
was thrown the first 3 times I tried to open the file, now 
it doesn't seem to be thrown naymore when I try and OPEN 
the file. However attempting to close the tab by right 
clicking will ALWAYS throw the exception.

Closing the X in the top right of the editors doesn't do 
anything either.

And pressing CTRL-F4 when the tab is focused doesn't do 
anything. I will attach my log file.
Comment 1 rsk 2003-05-29 04:55:14 UTC
Created attachment 10501 [details]
Log file from IDE
Comment 2 Marian Mirilovic 2003-05-29 12:49:48 UTC

*** This issue has been marked as a duplicate of 28090 ***
Comment 3 Marian Mirilovic 2003-07-23 16:10:26 UTC
verified, closed - it's duplicate.
Comment 4 Jan Chalupa 2003-11-03 14:46:03 UTC
A CLOSED issue mistakenly moved into the NEW state... closing again...

*** This issue has been marked as a duplicate of 28090 ***