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 104299

Summary: Options Panel wizard: race condition in the generated code
Product: apisupport Reporter: Andrei Badea <abadea>
Component: TemplatesAssignee: Andrei Badea <abadea>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 106989    
Bug Blocks:    

Description Andrei Badea 2007-05-18 17:47:45 UTC
The Javadoc of OptionsPanelController says applyChanged() can be called before
update(). It seems there is a race condition in the generated code which, in
this case, causes the options to be overwritten with the data in the empty,
uninitialized panel.
Comment 1 Jesse Glick 2007-05-19 02:25:57 UTC
If you know how to patch it, please go ahead and do so.
Comment 2 Andrei Badea 2007-06-26 15:37:35 UTC
Waiting for issue 106989 because I want to know OptionsPanelController's threading model first.
Comment 3 Andrei Badea 2007-07-17 11:18:53 UTC
Fixed by the fix of issue 106989.