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 - Add handling of error during TopComponent deserialization
Summary: Add handling of error during TopComponent deserialization
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks: 32212
  Show dependency tree
 
Reported: 2003-05-30 13:23 UTC by mslama
Modified: 2008-12-22 13:40 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.