wrap property instantiation in a try catch block, and emit a warning if instantiation and type inferrence fails