add null pointer exception check
Merge branch 'dev' of github.com:changyou/anthCraft-mobile into dev