i am developing a Spring .net Application.
I have a Login Page with fields - LoginID Password
On Login-There is a form to be filled by the candidate so after Login I check if the candidate has already filled form then the values are fetched from the database and shown in the form fields. Now When the Candidate hasn't filled the form the database null rows for it and hence it gives me the above error..please tell me how should I resolve this error.
I tried checking if the obj is null but it does not go to to the next line to check of the obj is NULL it immediately throws the above mentioned exception
IT GIVES ERROR IN LINE 6 OF THE PAGE_LOAD FUNCTION EXCEPTION:EmptyResultDataAccessException was caught Incorrect Resultsize Expected 1 Actual 0