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 21414

Summary: Better error handling (form persistence)
Product: guibuilder Reporter: Tomas Pavek <tpavek>
Component: CodeAssignee: Tomas Pavek <tpavek>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 21859    

Description Tomas Pavek 2002-03-11 10:48:10 UTC
Some kinds of problem occurred during loading a form are ignored or reported 
inadequately. However this happens very rarely, the user might be confused and 
have problems to find what's wrong. The user can also lose some data if he/she 
does not notice that anything was not loaded and saves the form.

All errors during forms loading should be recognized and reported. The user 
should be informed about possible data loss.

To achieve this we must make the form loading process more robust. All kind of 
errors must be handled and reported correctly (bad file format, missing 
component class, missing property editor class, etc). Especially the fact must 
be highlighted that the form loaded with errors should not be saved then due to 
possible data loss (of not loaded parts).

See also http://form.netbeans.org/doc/design/nb34/ErrorsHandling_userview.html
Comment 1 Tomas Pavek 2002-03-13 10:42:01 UTC
Done.
Comment 2 Marian Mirilovic 2002-03-25 13:55:36 UTC
verified in [nb_dev](20020315).

Now, error handling is as good as possible. User is informed about
error during loading form file.


Some small problems arise(issue 21113, issue 21115) , but now all are
fixed.

Thanks for this feature.