The withdrawForm() controller method cannot find the Account model object when given ID parameter from HTTP GET request. The server returned NullPointerException and terminated immediately.
@sir-muamua could you please take a look at withdrawForm() method? Did I implemented the input parameter retrieval correctly? And also please see if the DB is actually containing objects when the application is running.
I will check AccountData's findByID implementation later at home.
i've tried the withdrawForm() method with id=1 and the web page is still rendered with message "Withdraw Failed". cannot reproduce the NullPointerException.
The withdrawForm() controller method cannot find the Account model object when given ID parameter from HTTP GET request. The server returned NullPointerException and terminated immediately.
@sir-muamua could you please take a look at withdrawForm() method? Did I implemented the input parameter retrieval correctly? And also please see if the DB is actually containing objects when the application is running.
I will check AccountData's findByID implementation later at home.