EugeneTeu / ped

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leap year date input from user crashes application and breaks subsequent attempts to load

EugeneTeu opened this issue · comments

I am able to input a leap year date into adding of tasks.

Specifically, add task tn/test task 1 td/29/02/2019 .
look at task 7 in the screenshot.
Also i do not have a command successful message being shown to the user

Screenshot 2019-11-01 at 4.11.16 PM.png

Next step: I exit the application.
e.g exit

Screenshot 2019-11-01 at 4.12.22 PM.png

Next step: i run the jar using
e.g java -jar

Screenshot 2019-11-01 at 4.12.58 PM.png

I will get a runtime error. the application breaks and cannot restart again.

Screenshot 2019-11-01 at 4.14.21 PM.png

After this erroneous input by the user, he will be unable to start the application again. Have to manually delete the data and start over