getVoteCount() returning a nullpointer exception
yugmeshdev opened this issue · 0 comments
yugmeshdev commented
While testing votes api got this issue(everything is exactly same as this github code):
"Cannot invoke "java.lang.Integer.intValue()" because the return value of "com.example.springredditclone.model.Post.getVoteCount()" is null",