correction of exceptions: getObjectType and getObjectClass return null
if type cannot be determined