When entering the user information to try to login with the user infomation it causes a java.lang.NullPointerException. The error occurs when the controller try to check for the user in the Database in the Login.java servlet.
Same when trying to create the account as it also returns a java.lang.NullPointerException. It seems that the CreateAccount controller is returning a null value as the error occurs when the controller is adding the new input User infomation into the Database in the createAccount.java servlet.
When entering the user information to try to login with the user infomation it causes a java.lang.NullPointerException. The error occurs when the controller try to check for the user in the Database in the Login.java servlet.
Same when trying to create the account as it also returns a java.lang.NullPointerException. It seems that the CreateAccount controller is returning a null value as the error occurs when the controller is adding the new input User infomation into the Database in the createAccount.java servlet.