Error:
'The following error has occurred. Please contact the system administrator.
Error ID: Access-BWPOJXXXXXXXXXXXXXXX_XXXXX
Error Message: An unexpected error has occurred. Please check your last transaction as it may not have completed correctly. The error has been logged against the error ID above. Please contact your support team providing the error ID and details of the action taken immediately prior to this error.'
The updated visit code assumes that the receiving worker, the worker visiting, still has an active role.
If the worker does not and another worker tries to complete the visit, this results in a NullPointerException as Mosaic attempts to get the ID of the worker's current primary organisation.
Completing visits while the worker still has a primary role will avoid the error until a fix is provided in a future release.
