According to the developer's guide, corrupted data will lead to the following:
A DataLoadingException is thrown. An empty address book will be created. The following will
be logged as a warning: "Data file at " + storage.getAddressBookFilePath() + " could not be loaded."
However, the new address book does not seem to be created. As reloading the application again still provides the same error.
Steps to reproduce:
1)

Edit addressbook.json to have invalid values.
-
Open the application
-
Close the application after the loading is done

- Reopen the application
There should still be the same error message in the console stating that the data is corrupted.

According to the developer's guide, corrupted data will lead to the following:
A DataLoadingException is thrown. An empty address book will be created. The following will
be logged as a warning: "Data file at " + storage.getAddressBookFilePath() + " could not be loaded."
However, the new address book does not seem to be created. As reloading the application again still provides the same error.
Steps to reproduce:

1)
Edit addressbook.json to have invalid values.
Open the application
Close the application after the loading is done
There should still be the same error message in the console stating that the data is corrupted.