EugeneTeu / ped

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Health commands causing IndexOutOfBoundException errors

EugeneTeu opened this issue · comments

Once again, starting in empty folder

Screenshot 2019-11-01 at 4.30.20 PM.png

input command add health t/weight val/60 dt/21/10/2019 12:00

Screenshot 2019-11-01 at 4.32.30 PM.png

input exit for the applicaiton

Screenshot 2019-11-01 at 4.32.40 PM.png

java -jar again to run the app

Screenshot 2019-11-01 at 4.32.56 PM.png

The application breaks and cannot be loaded .

Another command tried :

add health t/glucose val/60 dt/21/10/2019 12:00

Screenshot 2019-11-01 at 4.35.07 PM.png

upon exit and re running the application :

Screenshot 2019-11-01 at 4.35.16 PM.png

Seems like the health commands are broken. Might be some list size glitch that is not being checked?