update checkprivilege

nullpointerexception
Merge branch 'master' of https://github.com/SCUSW/EAS