added a check for null pointer exception in Abstract Attribute
Merge pull request #10 from shobhitpuri/phone-verification

added a check for null pointer exception in Abstract Attribute