ARTEMIS-1524 avoid null pointer due to race condition in listAddresses()
The listAddresses() retrieves the list of addresses and then retrieves the detail of each one to build the Json representation. If the deleteAddress() occurs between getting the list of addresses and retrieving the details - a NullPointerException is thrown.
If address is deleted, ignore that address and continue through the list.
You can merge this pull request into a Git repository by running: