change cell label representation to class in the Java backend
fixed NPE
Merge pull request #916 from yilongli/change-celllabel-from-string-to-class

change cell label representation to class in the Java backend