1. Bring down agent
2. Schedule an op like "get all plugin info" for said agent
3. wait for op to fail because it can't connect to agent
4. view op details
This generates an exception.
I'm fairly sure this worked in the past, but I can't figure out when this behavior started. It seems a while back, maybe 4.9 or earlier because I see this in JON 3.2.x branch as well.
Anyway, according to the data model it is supported that an operation, whether successful or not, can return null results. This should be handled at all relevant points.
Committing fixes to GUI where I know we didn't handle null results, one in the op history detail view, and one in the agent topology detail view. Also found a place in the server code where we potentially could lose history information.
Author: Jay Shaughnessy <email@example.com>
Date: Fri May 30 17:29:28 2014 -0400
- Handled cases where null results are returned from an operation execution.
- Fixed one op history update path where [results] data could be lost.
Bulk close of items fixed in RHQ 4.12
If you think this is not solved, then please open a *new* BZ and link to this one.