In VMware Aria Automation Orchestrator, a scheduled workflow triggered by a Policy Periodic Event intermittently fails and stops executing. The Policy Run Audit displays the following error:
Exception when fetching policy, reason:javax.security.auth.login.LoginException: User can't be null
8.x
This error indicates that the security context or user session for the scheduled policy has expired, become corrupted, or detached from the initial execution identity. Because policies run under the security context of the user who started them, an inability to validate this context during the periodic fetch results in a null user state.
Log in to the Aria Automation Orchestrator appliance via SSH as root.
Reset the authentication provider to ensure the security context is correctly initialized:
vracli vro authenticationRestart the Orchestrator services to apply the changes:
/opt/scripts/deploy.shLog in to the Aria Automation Orchestrator UI.
Navigate to the affected policy, stop it, and restart it to refresh the user session and bind a new security context to the periodic event.
Ensure the user account starting the policy has adequate permissions and is not subject to frequent forced logouts or token revocations from the identity provider.