nus-cs2103-AY2223S1 / pe-dev-response

0 stars 0 forks source link

Improper exception raised when adding houses #3661

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

Description: When trying to add a new property listing the property is successfully added but it is accompanied by an error message saying Could not save data to file: java.nio.file.AccessDeniedException: C:\WINDOWS\system32\data Steps to reproduce:

  1. Open Condonery.jar
  2. Type in command add -p n/Pinnacle@Duxton a/Cantonment Rd, #1G, 085301 p/100,000 h/CONDO t/luxury
  3. Press enter.

Image showing error: image.png

Reasons for reporting bug:

  1. This exception should not be thrown at all.
  2. Even if it is thrown it should be handled gracefully.

[original: nus-cs2103-AY2223S1/pe-interim#3433] [original labels: type.FunctionalityBug severity.VeryLow]

yuehernkang commented 1 year ago

Team's Response

Jar file placed in a folder where user has no write permissions.

Duplicate status (if any):

--