Bug 833 - NullPointerException during aeFFT when there is no ticket.
Summary: NullPointerException during aeFFT when there is no ticket.
Status: CONFIRMED
Alias: None
Product: Hospital System
Classification: Unclassified
Component: AE System (show other bugs)
Version: Alpha Release
Hardware: PC Windows
: High critical
Assignee: klhwong3-c
URL: N/A
Depends on:
Blocks:
 
Reported: 2023-12-10 01:09 HKT by hongjlee2-c
Modified: 2023-12-10 01:09 HKT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hongjlee2-c 2023-12-10 01:09:27 HKT
Step To Reproduce:
1. Make sure to have at least one AE doctor for treatment. (You can add AE doctor using “admin aed [doctor_name]:[password]”)
2. Use “admin fft [yyyymmddhhmm]” until you don’t have any tickets left in the scheduling queue. (e.g. you can use “admin fft 203012311800”)

Actual Results:
The application crashes with a NullPointerException.

Expected Results:
aeFFT should end without any error when there is no ticket in the scheduling queue.

Suggested Fix:
Check whether there exists a ticket in the queue for each iteration of aeFFT and terminate the fft when there is no ticket to handle.