Reddit clone built using Spring Boot, Spring Security with JWT Authentication, Spring Data JPA with MySQL, Spring MVC. The frontend is built using Angular - You can find the frontend source code here - https://github.com/SaiUpadhyayula/angular-reddit-clone
658
stars
386
forks
source link
getVoteCount() returning a nullpointer exception #32
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",
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",