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 28090 - IllegalArgumentException from DefaultContainerImpl
Summary: IllegalArgumentException from DefaultContainerImpl
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
: 33998 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-10-17 16:54 UTC by Marian Mirilovic
Modified: 2008-12-23 09:43 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IllegalArgumentException stack trace (2.32 KB, text/plain)
2002-10-17 17:04 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2002-10-17 16:54:06 UTC
[nb_dev](20021016), [jdk1.4.0]

It is unreproducible, it happens after attempt to
close one editor tab.
Comment 1 Marian Mirilovic 2002-10-17 17:04:42 UTC
Created attachment 7694 [details]
IllegalArgumentException stack trace
Comment 2 Marian Mirilovic 2003-01-06 12:33:47 UTC
I have changed version from 4.0 dev to S1S 4.2 (Nevada).
Comment 3 Marian Mirilovic 2003-05-29 12:49:47 UTC
*** Issue 33998 has been marked as a duplicate of this issue. ***
Comment 4 _ mihmax 2003-06-10 17:07:36 UTC
Perfectly reproducible using NetBeans 3.5, see issue 33998:

P2, because:
"critical usability problem"

No nbdiscuss thread would contain 33 messages because (in the core
source) of this bug, if it wasn't that bad.

------- Additional Comments From Riyad Kalla 2003-05-28 20:55 PDT -------

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 5 Jan Chalupa 2003-11-03 14:46:02 UTC
*** Issue 33998 has been marked as a duplicate of this issue. ***
Comment 6 Marian Mirilovic 2003-11-26 12:55:37 UTC
Because Window System v1 will not be supported from now by our team, all old
winsys issues (now "core/window system v1" issues) are going to be closed as
WONTFIX. 

Changes in API which emerged both from UI spec 
and problems with adjusting to the older API are described in the document
http://core.netbeans.org/windowsystem/changes.html.
 It shows also recommends how the client code should be adjusted to the new
window system.

If you think this issue apply also to the new winsys then change the
subcomponent (to "core/window system") and REOPEN it.
Comment 7 Marian Mirilovic 2003-11-27 15:27:27 UTC
verified