The error is :
GroovyRuntimeException: Ambiguous method overloading for method com.atlassian.jira.security.JiraAuthenticationContextImpl#setLoggedInUser. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [interface com.atlassian.cr
Though the job is run. It shows an error in Scheduler Details.