Fixes bug 8023: generates an exception upon no data in RPC result

This patch generates an exception if no data is received in an RPC result, rather than allowing the code to crash trying to access a non-existent member of the (null) object.