Bug 731 - java.lang.NullPointerException thrown when invalid Doctor's credentials
Summary: java.lang.NullPointerException thrown when invalid Doctor's credentials
Status: RESOLVED FIXED
Alias: None
Product: Hospital-Managment
Classification: Unclassified
Component: Bug (show other bugs)
Version: 1.1
Hardware: PC Windows
: Highest enhancement
Assignee: Crist
URL:
Depends on:
Blocks:
 
Reported: 2022-11-23 19:40 HKT by Crist
Modified: 2022-12-05 21:22 HKT (History)
0 users

See Also:


Attachments
Bug sequence (51.79 KB, image/jpeg)
2022-11-23 19:40 HKT, Crist
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Crist 2022-11-23 19:40:49 HKT
Created attachment 132 [details]
Bug sequence

When there are invalid doctor credentials (i.e.: doctor does not exists in sw), and option "do not retry" chosen, the software only shows options as we were a doctor with valid credentials. Therefore, if we type anything as input the program breaks.
Comment 1 Crist 2022-12-05 21:19:01 HKT
Solve by anavale2-c@my.cityu.edu.hk
Comment 2 Crist 2022-12-05 21:22:31 HKT
Solved by anavale2-c@my.cityu.edu.hk