Request Failed Error:"IAM-2050014: An error occurred while initiating approvals" with "Tasklist mapping failed for workflow definition" in the Log

(Doc ID 2422016.1)

Last updated on JULY 11, 2018

Applies to:

Identity Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

Approval requests fail immediately after creation.  When opening the request from the Track Requests page if you click on the Request Failed link, a popup is seen with:

IAM-2050014: An error occurred while initiating approvals for request 12005. The corresponding error message is Registration of workflow default/createUserWorkflow!3.3 failed. Following values were passed for registering the workflow: \n(1)Category=Approval \n(2)OperationId=process \n(3)PayloadID=payload \n(4)ProviderType=BPEL \n(5)Service Name=RequestApprovalService \n(6)ListOfTasks=ApprovalTask..

The corresponding OIM diagnostic log shows:

[2018-06-22T13:57:25.014-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam.platform.workflowservice.impl] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 4af353710520e86b:7e73418c:163f6daf7c0:-8000-000000000009afc1,0] [APP: oim#11.1.2.0.0] Tasklist mapping failed for workflow definition: default/RequesterManagerApproval!3.0 due to java.rmi.RemoteException: EJB Exception: ; nested exception is: [[
java.lang.NullPointerException
]]

[2018-06-22T13:57:25.018-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam.platform.workflowservice.impl] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 4af353710520e86b:7e73418c:163f6daf7c0:-8000-000000000009afc1,0] [APP: oim#11.1.2.0.0] Workflow DN default/RequesterManagerApproval!3.0 is invalid[[
oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Tasklist mapping failed for workflow definition: default/RequesterManagerApproval!3.0 due to java.rmi.RemoteException: EJB Exception: ; nested exception is:
java.lang.NullPointerException
at oracle.iam.platform.workflowservice.impl.WorkflowRepositoryImpl.mapWorkflow(WorkflowRepositoryImpl.java:218)
at oracle.iam.platform.workflowservice.impl.WorkflowRepositoryImpl.registerWorkFlowDefinition(WorkflowRepositoryImpl.java:193)
at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.registerWorkFlowDefinition(WorkflowServiceImpl.java:307)
at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.registerWorkFlowDefinition(WorkflowServiceImpl.java:279)
at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.initiate(WorkflowServiceImpl.java:197)
...
at oracle.iam.request.impl.ApprovalManager.initiateSOAWorkflow(ApprovalManager.java:1062)
at oracle.iam.request.impl.ApprovalManager.initiateWorkflowPolicyBasedWorkflow(ApprovalManager.java:888)
at oracle.iam.request.eventhandlers.InitiateApproval.initiateApprovalWorkflow(InitiateApproval.java:149)
at oracle.iam.request.eventhandlers.InitiateApproval.execute(InitiateApproval.java:81)
...
Caused by: oracle.bpel.services.workflow.client.WorkflowServiceClientException: java.rmi.RemoteException: EJB Exception: ; nested exception is:
java.lang.NullPointerException
at oracle.bpel.services.workflow.metadata.client.TaskMetadataServiceRemoteClient.listTaskMetadata(TaskMetadataServiceRemoteClient.java:119)
at oracle.bpel.services.workflow.metadata.client.TaskMetadataServiceRemoteClient.listTaskMetadata(TaskMetadataServiceRemoteClient.java:136)
...
at oracle.iam.platform.workflowservice.impl.CreateTasklistMapping.mapTaskPayload(CreateTasklistMapping.java:124)
at oracle.iam.platform.workflowservice.impl.CreateTasklistMapping.execute(CreateTasklistMapping.java:101)
at oracle.iam.platform.workflowservice.impl.WorkflowRepositoryImpl.mapWorkflow(WorkflowRepositoryImpl.java:212)
... 61 more
Caused by: java.rmi.RemoteException: EJB Exception: ; nested exception is:
java.lang.NullPointerException
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:350)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:261)
at oracle.bpel.services.workflow.metadata.ejb.TaskMetadataServiceBean_kykm8_EOImpl_1036_WLStub.listTaskMetadata(Unknown Source)
at oracle.bpel.services.workflow.metadata.client.TaskMetadataServiceRemoteClient.listTaskMetadata(TaskMetadataServiceRemoteClient.java:113)
... 72 more
Caused by: java.lang.NullPointerException
at oracle.bpel.services.workflow.metadata.impl.TaskMetadataCache.getResourceBundleLocal(TaskMetadataCache.java:1225)
at oracle.bpel.services.workflow.metadata.impl.TaskMetadataCache.getResourceBundle(TaskMetadataCache.java:1086)
at oracle.bpel.services.workflow.metadata.impl.TaskMetadataCache.getOutcomes(TaskMetadataCache.java:591)
at oracle.bpel.services.workflow.metadata.impl.TaskMetadataCache.getTaskOutComesFromCache(TaskMetadataCache.java:546)
at oracle.bpel.services.workflow.metadata.impl.TaskMetadataCache.getTaskMetadaOutcomesTypeById(TaskMetadataCache.java:672)
at oracle.bpel.services.workflow.metadata.impl.TaskMetadataService.populateOutcomes(TaskMetadataService.java:2352)
at oracle.bpel.services.workflow.metadata.impl.TaskMetadataService.populateTaskMetadataDerivedValues(TaskMetadataService.java:2323)
at oracle.bpel.services.workflow.metadata.impl.TaskMetadataService.listTaskMetadata(TaskMetadataService.java:615)
at oracle.bpel.services.workflow.metadata.impl.TaskMetadataService.listTaskMetadata(TaskMetadataService.java:555)
...
]]

[2018-06-22T13:57:25.026-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 4af353710520e86b:7e73418c:163f6daf7c0:-8000-000000000009afc1,0] [APP: oim#11.1.2.0.0] IAMWorkflowException thrown[[
oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Registration of workflow default/RequesterManagerApproval!3.0 failed. Following values were passed for registering the workflow: \n(1)Category=Approval \n(2)OperationId=process \n(3)PayloadID=payload \n(4)ProviderType=BPEL \n(5)Service Name=RequestApprovalService \n(6)ListOfTasks=ApprovalTask.
at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.registerWorkFlowDefinition(WorkflowServiceImpl.java:290)
at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.initiate(WorkflowServiceImpl.java:197)
...
at oracle.iam.request.impl.ApprovalManager.initiateSOAWorkflow(ApprovalManager.java:1062)
at oracle.iam.request.impl.ApprovalManager.initiateWorkflowPolicyBasedWorkflow(ApprovalManager.java:888)
at oracle.iam.request.eventhandlers.InitiateApproval.initiateApprovalWorkflow(InitiateApproval.java:149)
at oracle.iam.request.eventhandlers.InitiateApproval.execute(InitiateApproval.java:81)
...
]]

[2018-06-22T13:57:25.060-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 4af353710520e86b:7e73418c:163f6daf7c0:-8000-000000000009afc1,0] [APP: oim#11.1.2.0.0] An error occurred while initiating approvals for request 12006. The corresponding error message is Registration of workflow default/RequesterManagerApproval!3.0 failed. Following values were passed for registering the workflow: \n(1)Category=Approval \n(2)OperationId=process \n(3)PayloadID=payload \n(4)ProviderType=BPEL \n(5)Service Name=RequestApprovalService \n(6)ListOfTasks=ApprovalTask..

[2018-06-22T13:57:25.062-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 4af353710520e86b:7e73418c:163f6daf7c0:-8000-000000000009afc1,0] [APP: oim#11.1.2.0.0] Exception thrown oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Registration of workflow default/RequesterManagerApproval!3.0 failed. Following values were passed for registering the workflow: \n(1)Category=Approval \n(2)OperationId=process \n(3)PayloadID=payload \n(4)ProviderType=BPEL \n(5)Service Name=RequestApprovalService \n(6)ListOfTasks=ApprovalTask.

[2018-06-22T13:57:25.064-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 4af353710520e86b:7e73418c:163f6daf7c0:-8000-000000000009afc1,0] [APP: oim#11.1.2.0.0] In class InitiateApproval/execute Exception thrown[[
oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Registration of workflow default/RequesterManagerApproval!3.0 failed. Following values were passed for registering the workflow: \n(1)Category=Approval \n(2)OperationId=process \n(3)PayloadID=payload \n(4)ProviderType=BPEL \n(5)Service Name=RequestApprovalService \n(6)ListOfTasks=ApprovalTask.
at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.registerWorkFlowDefinition(WorkflowServiceImpl.java:290)
at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.initiate(WorkflowServiceImpl.java:197)
...
at oracle.iam.request.impl.ApprovalManager.initiateSOAWorkflow(ApprovalManager.java:1062)
at oracle.iam.request.impl.ApprovalManager.initiateWorkflowPolicyBasedWorkflow(ApprovalManager.java:888)
at oracle.iam.request.eventhandlers.InitiateApproval.initiateApprovalWorkflow(InitiateApproval.java:149)
at oracle.iam.request.eventhandlers.InitiateApproval.execute(InitiateApproval.java:81)
...
]]

[2018-06-22T13:57:25.067-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 4af353710520e86b:7e73418c:163f6daf7c0:-8000-000000000009afc1,0] [APP: oim#11.1.2.0.0] An error occurred while initiating approvals for request 12006. The corresponding error message is Registration of workflow default/RequesterManagerApproval!3.0 failed. Following values were passed for registering the workflow: \n(1)Category=Approval \n(2)OperationId=process \n(3)PayloadID=payload \n(4)ProviderType=BPEL \n(5)Service Name=RequestApprovalService \n(6)ListOfTasks=ApprovalTask..

[2018-06-22T13:57:25.068-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 4af353710520e86b:7e73418c:163f6daf7c0:-8000-000000000009afc1,0] [APP: oim#11.1.2.0.0] Exception thrown oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Registration of workflow default/RequesterManagerApproval!3.0 failed. Following values were passed for registering the workflow: \n(1)Category=Approval \n(2)OperationId=process \n(3)PayloadID=payload \n(4)ProviderType=BPEL \n(5)Service Name=RequestApprovalService \n(6)ListOfTasks=ApprovalTask.

[2018-06-22T13:57:25.090-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 4af353710520e86b:7e73418c:163f6daf7c0:-8000-000000000009afc1,0] [APP: oim#11.1.2.0.0] Exception thrown Registration of workflow default/RequesterManagerApproval!3.0 failed. Following values were passed for registering the workflow: \n(1)Category=Approval \n(2)OperationId=process \n(3)PayloadID=payload \n(4)ProviderType=BPEL \n(5)Service Name=RequestApprovalService \n(6)ListOfTasks=ApprovalTask.[[
oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Registration of workflow default/RequesterManagerApproval!3.0 failed. Following values were passed for registering the workflow: \n(1)Category=Approval \n(2)OperationId=process \n(3)PayloadID=payload \n(4)ProviderType=BPEL \n(5)Service Name=RequestApprovalService \n(6)ListOfTasks=ApprovalTask.
at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.registerWorkFlowDefinition(WorkflowServiceImpl.java:290)
at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.initiate(WorkflowServiceImpl.java:197)
...
at oracle.iam.request.impl.ApprovalManager.initiateSOAWorkflow(ApprovalManager.java:1062)
at oracle.iam.request.impl.ApprovalManager.initiateWorkflowPolicyBasedWorkflow(ApprovalManager.java:888)
at oracle.iam.request.eventhandlers.InitiateApproval.initiateApprovalWorkflow(InitiateApproval.java:149)
at oracle.iam.request.eventhandlers.InitiateApproval.execute(InitiateApproval.java:81)
...
]]

[2018-06-22T13:57:25.109-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam.platform.utils] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 4af353710520e86b:7e73418c:163f6daf7c0:-8000-000000000009afc1,0] [APP: oim#11.1.2.0.0] An error occurred while loading the parent resource bundle oracle.iam.request.eventhandlers.resources.Logging

[2018-06-22T13:57:25.112-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 4af353710520e86b:7e73418c:163f6daf7c0:-8000-000000000009afc1,0] [APP: oim#11.1.2.0.0] Kernel Information: {0}[[
oracle.iam.platform.kernel.EventFailedException: An error occurred while initiating approvals for request 12006. The corresponding error message is Registration of workflow default/RequesterManagerApproval!3.0 failed. Following values were passed for registering the workflow: \n(1)Category=Approval \n(2)OperationId=process \n(3)PayloadID=payload \n(4)ProviderType=BPEL \n(5)Service Name=RequestApprovalService \n(6)ListOfTasks=ApprovalTask..
at oracle.iam.request.eventhandlers.InitiateApproval.execute(InitiateApproval.java:113)
...
Caused by: oracle.iam.platform.workflowservice.exception.IAMWorkflowException: Registration of workflow default/RequesterManagerApproval!3.0 failed. Following values were passed for registering the workflow: \n(1)Category=Approval \n(2)OperationId=process \n(3)PayloadID=payload \n(4)ProviderType=BPEL \n(5)Service Name=RequestApprovalService \n(6)ListOfTasks=ApprovalTask.
at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.registerWorkFlowDefinition(WorkflowServiceImpl.java:290)
at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.initiate(WorkflowServiceImpl.java:197)
...
at oracle.iam.request.impl.ApprovalManager.initiateSOAWorkflow(ApprovalManager.java:1062)
at oracle.iam.request.impl.ApprovalManager.initiateWorkflowPolicyBasedWorkflow(ApprovalManager.java:888)
at oracle.iam.request.eventhandlers.InitiateApproval.initiateApprovalWorkflow(InitiateApproval.java:149)
at oracle.iam.request.eventhandlers.InitiateApproval.execute(InitiateApproval.java:81)
... 42 more
]]

 




Changes

 You've recently deployed a custom composite which contains a resourceBundle location attribute or updated an out of the box approval composite to use a resourceBundle location attribute.

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