[TIMOB-16691] Added error handling when trying to get or set an invalid ...

...property using the reflection api.