Reputation:
Why would this line give me a NullPointerException?
List<Comment> commentList = commentDAO.getComments();
The getComments() method does indeed return a List, but when I step through the code in Eclipse, the method doesn't even get called.
Upvotes: 0
Views: 37