Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353768 - PBS-ResourceManager did not start (for milestone PTP 5.0.2)
Summary: PBS-ResourceManager did not start (for milestone PTP 5.0.2)
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RM (show other bugs)
Version: 5.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 5.0.2   Edit
Assignee: Claudia Knobloch CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 10:03 EDT by Claudia Knobloch CLA
Modified: 2011-08-11 09:28 EDT (History)
1 user (show)

See Also:


Attachments
Fixing the non-starting of PBS-RM (858 bytes, text/plain)
2011-08-03 10:03 EDT, Claudia Knobloch CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claudia Knobloch CLA 2011-08-03 10:03:40 EDT
Created attachment 200814 [details]
Fixing the non-starting of PBS-RM

After adding a PBS-ResourceManger the starting failed, but the ResourceManager started after retrying to start it.

A missing memento was the cause of this behavior. In the class LMLResourceManagerMonitor all jobs are reloaded from a memento. Since such a memento have not been created at this point(first opening of the RM), the reload method is not called and the value of jobs (given before the method call) is still null. The null value was not observed in the class LMLManager. An added NPE check fixes this problem.