Bug 64744
Show the type of the non-object for more descriptive errors