Error occured trying to materialize object