nus-cs2113-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Non-numerical data in data.txt crashes application #706

Open nus-se-script opened 2 months ago

nus-se-script commented 2 months ago

Description: When a user changes the integer values in data.txt to non-integer values, the application crashes on startup.

Steps to Reproduce:

  1. Open data.txt in the data folder
  2. Change any integer value to a non-integer value (e.g. abc)
  3. Run the jar file

Actual Result: The application crashes on startup, throwing a RuntimeException for a NumberFormatException.

Screenshot:

image.png


[original: nus-cs2113-AY2324S2/pe-interim#812] [original labels: type.FunctionalityBug severity.High]

nikhil-2101 commented 2 months ago

Team's Response

No details provided by team.

Duplicate status (if any):

--