devsalman / ABSMVCTraining

ABS MVC Case Study for training session
0 stars 0 forks source link

Cannot find Account model object in withdrawForm() controller #10

Open addianto opened 9 years ago

addianto commented 9 years ago

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.

devsalman commented 9 years ago

i've tried the withdrawForm() method with id=1 and the web page is still rendered with message "Withdraw Failed". cannot reproduce the NullPointerException.

please see the attachment below

withdrawform