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 34046

Summary: Add handling of error during TopComponent deserialization
Product: platform Reporter: mslama <mslama>
Component: Window SystemAssignee: David Simonek <dsimonek>
Status: RESOLVED FIXED    
Severity: blocker CC: pzavadsky
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 32212    

Description mslama 2003-05-30 13:23:52 UTC
It is necessary to clean wstcref and wstcgrp files
which reference 'invalid' TopComponent. Only files
stored localy will be deleted. It is
responsibility of module developer to define its
winsys elements correctly => wstcref and wstcgrp
files in module folder (install layer) will not be
deleted.

One typical example is when some document is
opened in editor -> exit IDE -> delete this
document -> start IDE -> document cannot be opened
-> TopComponent cannot be deserialized typicaly it
throws DataObjectNotFoundException.

It was handled in ModeData class in previous
version of winsys. ModeData is not used now => it
must be handled probably in
PersistenceManager.getTopComponentForID().
Comment 1 mslama 2005-06-14 09:09:02 UTC
Passing to new winsys owner for evaluation.
Comment 2 David Simonek 2008-10-16 16:29:13 UTC
Implemented and fixed long time ago, just forgot to close, closing now.