nus-cs2113-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Big numbers in data.txt crashes application #887

Open nus-se-script opened 2 months ago

nus-se-script commented 2 months ago

Description: When a user runs the application after changing a number in data.txt to a very large number, the application crashes on startup.

Steps to Reproduce:

  1. Open data.txt in the data folder
  2. Change any integer value to a very large number, e.g. 99999999999999999999999
  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#808] [original labels: type.FunctionalityBug severity.High]

nikhil-2101 commented 2 months ago

Team's Response

photo_6134022294889152675_x.jpg

Duplicate status (if any):

--