Fixed null pointer issue in getclassItem API
Merge pull request #634 from skpcharles/master

Fixed null pointer issue in getclassItem API