Attempted to resolve null pointer exception issue.