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 22257 - Explorer window disappears when trying to select new template to create
Summary: Explorer window disappears when trying to select new template to create
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-09 20:35 UTC by Unknown
Modified: 2008-12-23 12:17 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
diff of patch for orion_fcs (1007 bytes, patch)
2002-04-10 15:39 UTC, Peter Zavadsky
Details | Diff
patch for orion_fcs, put in lib/patches dir (8.93 KB, application/zip)
2002-04-10 15:42 UTC, Peter Zavadsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2002-04-09 20:35:44 UTC
This bug occurs when you run the latest
nightly build of ffj4.0 (ee edition).

Start the IDE. Close all windows except
the main IDE frame. Exit the IDE.
Restart the IDE. Select View->Explorer
to display the Explorer Window. Select
any filesystem or package node. Display
the pop up menu and select New->. On
that pop up menu, select any item that
has a pull right menu ("Classes" for
example). After a second or two, the
menus and Explorer window will all
disappear.

I put some println's in TopFrameTypeImpl.java
to try and figure out why the Explorer
window is being unmapped, but the
thread dump I got doesn't mean much to me:

TFTI: setting frame: Explorer [Runtime]
visibility: false
java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1071)
	at
org.netbeans.core.windows.frames.TopFrameTypeImpl.setVisible(TopFrameTypeImpl.java:88)
	at
java.awt.Window$1$DisposeAction.run(Window.java:520)
	at java.awt.Window.dispose(Window.java:534)
	at
org.netbeans.core.windows.ModeImpl.doDisposeFrame(ModeImpl.java:1919)
	at
org.netbeans.core.windows.ModeImpl.destroyFrame(ModeImpl.java:1896)
	at
org.netbeans.core.windows.ModeImpl.access$800(ModeImpl.java:77)
	at
org.netbeans.core.windows.ModeImpl$3.performCommand(ModeImpl.java:551)
	at
org.netbeans.core.windows.DeferredPerformer$1.run(DeferredPerformer.java:181)
	at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at
java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Comment 1 Marian Mirilovic 2002-04-10 08:53:21 UTC
[jdk1.4](fcs), Solaris 5.8

It's reproducible on 020409_2 EE , this one isn't reproducible on the
same build number CE.
Comment 2 Marian Mirilovic 2002-04-10 08:58:45 UTC
Steps to reproduce:

- run IDE
- close Explorer
- restart IDE
- View | Explorer
- wait 2-5 seconds ( you cannot invoke New from template, just wait)
-> Explorer close
Comment 3 Jan Zajicek 2002-04-10 10:00:10 UTC
This is general problem. Someone is changing xml where is stored
Explorer as closed while user opened it and winsys updates the state
according to the data on disk - so Explorer gets closed. Peter is
working on fix. Peter please add link to the winsys task that
describes problem with synchronization. Thanks.
Comment 4 Peter Zavadsky 2002-04-10 15:27:05 UTC
Fixed in [main-trunk]

Fix:
core/../windows/layers/TCRefImpl.java [1.34]
Comment 5 Peter Zavadsky 2002-04-10 15:39:32 UTC
Created attachment 5359 [details]
diff of patch for orion_fcs
Comment 6 Peter Zavadsky 2002-04-10 15:42:16 UTC
Created attachment 5360 [details]
patch for orion_fcs, put in lib/patches dir
Comment 7 Peter Zavadsky 2002-04-10 15:43:29 UTC
Please review, test and approve for [orion_fcs] integration.
Comment 8 Peter Zavadsky 2002-04-10 18:25:01 UTC
Integrated into [orion_fcs] branch, IN=6554.
Comment 9 Marian Mirilovic 2002-04-11 08:46:21 UTC
verified in [orion EE](020410_2)
Comment 10 Quality Engineering 2003-07-01 16:37:21 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 11 Jan Chalupa 2003-11-03 14:01:17 UTC
A CLOSED issue mistakenly moved into a NEW state... closing again...
Comment 12 Jan Chalupa 2003-11-03 14:04:45 UTC
... step 2...
Comment 13 Jan Chalupa 2003-11-03 14:07:33 UTC
... step 3. CLOSED.