QA-5669 : avoid npe when getting  property type