Fix Null Pointer in getDisplayAddresses