SAP Knowledge Base Article - Public

2601415 - Error "Can not find admin user" when any Automatic Process fails

Symptom

When an Automatic Process failes, the following error is generated:

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor1887.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.plateau.common.core.api.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:323)
at com.plateau.common.jobscheduling.impl.simple.SimpleJobRunnable.invokeJobSetUpHandlers(SimpleJobRunnable.java:263)
at com.plateau.common.jobscheduling.impl.simple.SimpleJobRunnable.setUp(SimpleJobRunnable.java:198)
at com.plateau.foundation.jobscheduling.TenantAwareJobRunnable.setUp(TenantAwareJobRunnable.java:61)
at com.plateau.common.jobscheduling.impl.simple.SimpleJobRunnable.run(SimpleJobRunnable.java:82)
at com.plateau.foundation.jobscheduling.TenantAwareJobRunnable.run(TenantAwareJobRunnable.java)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:807)
Caused by: com.plateausystems.elms.util.helper.ElmsFinderException: Can not find admin user {admin user ID}
at com.plateausystems.elms.util.helper.UserContextHelper.createUserJB(UserContextHelper.java:68)
at com.plateausystems.elms.util.helper.TMSThreadLocalUserContextUtil.setFallbackThreadLocalUserContext(TMSThreadLocalUserContextUtil.java:50)
at com.plateausystems.elms.framework.jobscheduling.impl.BaseBackgroundJob.initializeUserContext(BaseBackgroundJob.java:256)
... 12 more

Environment

SuccessFactors Learning Management System (LMS) - All Supported Versions

Cause

The admin user who last updated or created the Automatic Process, has had their account disabled or deleted.

Resolution

What needs to be done is a new admin needs to click "Apply changes" on respective Automatic Process job page without modifying any setting. Then this job owner will be changed to the new admin name, which should result in successful run of this job.

Keywords

Can not find admin user, automatic process, ElmsFinderException , KBA , LOD-SF-LMS-BCJ , LMS Background Jobs , How To

Product

SAP SuccessFactors Learning all versions