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 19688

Summary: Be more robust while closing windows
Product: platform Reporter: _ pkuzel <pkuzel>
Component: Window SystemAssignee: mslama <mslama>
Status: CLOSED FIXED    
Severity: blocker CC: dsimonek, ttran
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
URL: http://xml.netbeans.org/issues/show_bug.cgi?id=19687
Issue Type: DEFECT Exception Reporter:

Description _ pkuzel 2002-01-23 10:32:42 UTC
As bug #19687 shows window system may be confused by wrong implementation of
custom top component.

Particular issue can be handled at window system level or at
NbTopManager.exit(), just choose what is more appropriate.
Comment 1 _ ttran 2002-01-24 14:40:14 UTC
isn't this duplicate of issue #19652?
Comment 2 mslama 2002-01-24 14:46:49 UTC
No, it is not duplicate of issue #19652.
Comment 3 mslama 2002-01-24 14:55:51 UTC
It is connected with issue #19652 because when .settings file will not
be saved when IDE will be started next time .settings file referenced
from wstcref file will not be found => it will result in IOException
and this is solved in issue #19652.
Comment 4 mslama 2002-01-24 16:54:43 UTC
Added exception handling when InstanceDataObject.create() is called in
PersistenceManager.forceSaveOfTopComponents(). Saving of window system
will continue even if exception is raised when .settings file is saved.
Exception is logged to ide.log.

Fixed in main trunk.
Comment 5 mslama 2002-02-14 10:18:24 UTC
*** Issue 20494 has been marked as a duplicate of this issue. ***
Comment 6 Jan Chalupa 2002-04-09 11:19:23 UTC
Could the fix be considered for Orion and the next bugfix release of
NetBeans? Marking as a 3.3.2_CANDIDATE.
Comment 7 mslama 2002-04-09 12:04:59 UTC
This is safe fix.
Comment 8 David Simonek 2002-04-09 13:18:45 UTC
Yes, I agree this fix is safe and can't make any harm.
Comment 9 mslama 2002-04-12 15:38:23 UTC
Fix is integrated to orion_fcs branch.
Comment 10 Marian Mirilovic 2002-05-30 10:52:35 UTC
verified
Comment 11 Quality Engineering 2003-07-01 16:31:07 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.