add exception handle when project is null
stop invoke api when project is null
Merge pull request #96 from janzhongi/project2home

handle null exception for project