Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345108 - [JAXB] RM state is started (green) even if startup commands fail
Summary: [JAXB] RM state is started (green) even if startup commands fail
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RM (show other bugs)
Version: 5.0   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Albert L. Rossi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-09 05:15 EDT by Greg Watson CLA
Modified: 2011-05-09 15:09 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2011-05-09 05:15:08 EDT
If I try to start the RM on my local machine (which doesn't have PBS installed), I get a dialog saying "get-queues encountered a problem", however the RM state is still set to started. It should really be set to indicate an error condition.
Comment 1 Albert L. Rossi CLA 2011-05-09 15:07:58 EDT
This bug was related to 345107.

I've regularized the handling of exceptions thrown by internal Jobs vs. those not.  When an internal Job (run by the Platform) returns and ERROR status, the exception is now handled internally and the RM state is set accordingly, but it is not rethrown because there has already been one ErrorDialog from the platform, and rethrowing causes a second dialog to appear.  However, if the error occurs (as with the aforementioned bug) from an initialization procedure, it is rethrown so that the RM handling will display an error message.