fix error FATAL_CALL_FUNCTION_ON_NON_OBJECT (v 2.8.1)

* add expect value as an object into GenericObject::checkArguments()

Change-Id: I2822c5df3b202fecf516ab8292e00aaedf62b346