Red Hat Bugzilla – Bug 653305
listSystemEvents fails when errata update scheduled by (none)
Last modified: 2011-03-18 07:40:04 EDT
Description of problem:
Api call system.listSystemEvents api fails with <redstone.xmlrpc.XmlRpcFault: unhandled internal exception: null> for some (corner?) cases.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set auto errata update on client
2. sync from dump
3. ensure that errata update events are scheduled for system
4. system.listSystemEvents() api call
<redstone.xmlrpc.XmlRpcFault: unhandled internal exception: null>
return pending system events
Created attachment 460503 [details]
snip from catalina.out
Correct, when sat sync schedules an event, event scheduler user is set to null. Impossible to get the user login information. :-)
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
When satellite-sync schedules an event, scheduler user is set to null. Null cannot be passed via XMLRPC and fails with NullPointerException
system.listSystemEvents API fails with NulLPointerException, when some events were scheduled by satellite-sync
Not trying to pass scheduler user over XMLRPC, if it's set to null
system.listSystemEvents API can be called also, when satellite-sync scheduled events for a system and doesn't fail
Taking QA contact.
Changing to VERIFIED.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.