object: do not segfault on error
object: do not segfault on error

Change-Id: Id582c5f3a19ee821bf0bd5e04caced54d0ad53ee

vbarbaresi/libqi,aldebaran/libqi,aldebaran/libqi,bsautron/libqi,aldebaran/libqi-java,aldebaran/libqi,aldebaran/libqi-java,aldebaran/libqi-java