"class/plug-in could not be loaded" Exception When Creating A User After Installing A Custom Event Handler (Doc ID 1360053.1)

Last updated on AUGUST 08, 2017

Applies to:

Identity Manager - Version 11.1.1.3.0 and later
Information in this document applies to any platform.
**Checked for relevance on 31-Jul-2014**

Symptoms

After creating a custom pre-process event handler to run on user creation by following <Document 1262803.1>, user creation fails and the following error is seen in the logs:

<Sep 19, 2011 9:32:48 AM COT> <Error> <oracle.iam.identity.usermgmt.impl> <IAM-3050030> <An exception occurred while performing the operation.
oracle.iam.platform.kernel.EventFailedException: Event handler CustomPreProcessEventHandler implemented using class/plug-in could not be loaded.
at oracle.iam.platform.kernel.impl.OrchProcessData.runPreProcessEvents(OrchProcessData.java:878)
at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:634)
at oracle.iam.platform.kernel.impl.OrchProcessData.executeEvents(OrchProcessData.java:227)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:665)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.process(OrchestrationEngineImpl.java:435)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:381)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:334)
at oracle.iam.identity.usermgmt.impl.UserManagerImpl.create(UserManagerImpl.java:635)
at oracle.iam.identity.usermgmt.api.UserManagerEJB.createx(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
...
Caused By: java.lang.NullPointerException
at oracle.iam.platform.kernel.impl.OrchConfig.getinitializedEventHandler(OrchConfig.java:190)
at oracle.iam.platform.kernel.impl.OrchConfig.<init>(OrchConfig.java:108)
at oracle.iam.platform.kernel.impl.KernelObjFactory.getOrchConfig(KernelObjFactory.java:94)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:372)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:334)
at oracle.iam.identity.usermgmt.impl.UserManagerImpl.create(UserManagerImpl.java:635)
at oracle.iam.identity.usermgmt.api.UserManagerEJB.createx(Unknown Source)
...

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms