Request processing failed; nested exception is java.lang.NullPointerException with root cause java.lang.NullPointerException
Here is a brief description of what I am doing. The application has the form elements in JSP which redirects to the Controller class after pressing submit. The controller calls the service layer which in turn calls DAO and finally adds the records to the data base. The issue I am having is that in the Controller class, I can receive the request parameters (POST) but the thing is that there is an issue while calling the addStudent() of the service layer. The issue is with the Null Pointer Exception on object. Could you guys review the code and provide me suggestions? Here is the full Stacktrace
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.