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 33687

Summary: Handling of fatal parsing errors
Product: platform Reporter: mslama <mslama>
Component: Window SystemAssignee: mslama <mslama>
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-16 15:17:27 UTC
If there is some fatal error during parsing of
configuration file (for example when file is empty
or there is name mismatch between file name and
name in data) it is not possible to create valid
instance of configuration data class -> parser
should probably log it (it is already done) and
return null. null return value must be correctly
handled by caller (its parent like WindowManager
-> Mode). This behaviour is also covered by unit
tests.
Comment 1 mslama 2003-06-18 15:44:14 UTC
Finished.