Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368741 - Racing issue when registering the separated shell configurations
Summary: Racing issue when registering the separated shell configurations
Status: CLOSED FIXED
Alias: None
Product: Virgo
Classification: RT
Component: runtime (show other bugs)
Version: 3.1.0.M01   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.5.0.M02   Edit
Assignee: Borislav Kapukaranov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-16 11:53 EST by Borislav Kapukaranov CLA
Modified: 2012-01-16 11:58 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Borislav Kapukaranov CLA 2012-01-16 11:53:10 EST
There is a racing issue in the ConsoleConfigurationConvertor. In its start method a ManagedService is registered and assigned to a global variable. 
It is then used in the ManagedService's update() method.
The problem is that this method seems to be called before the service is assigned to the global variable, resulting in a NPE.
Comment 1 Borislav Kapukaranov CLA 2012-01-16 11:58:03 EST
Fixed with commits:
nano - 1f0e065
kernel - a1ff906