Open nus-pe-bot opened 3 years ago
Thank you for your report.
The integers are parsed in this manner: 1) Use of built-in Java methods to attempt to parse the index (given as string) to an integer. Reference: parseInt() method
2) Check that the integer is unsigned non-zero.
For very large positive integers resulting in overflows, step 1) fails, which is a limitation of Java itself.
--
Integer overflow causes app's done command to give a wrong error message.
[original: nus-cs2103-AY2021S2/pe-interim#3079] [original labels: severity.Medium type.FunctionalityBug]