Cannot Redeploy BPM Process due to NullPointerException on ParticipantReferenceAdapter.getId (Doc ID 1539013.1)

Last updated on MARCH 26, 2013

Applies to:

Oracle Business Process Management Suite - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

Trying to redeploy a BPM process from JDeveloper with the option 'Keep running instances on after redeployment' and getting the below errror:

Caused By: java.lang.NullPointerException
at oracle.bpm.project.ActivityImpl$ParticipantReferenceAdapter.getId(ActivityImpl.java:3030)
at oracle.bpm.project.ActivityImpl$ParticipantReferenceAdapter.getId(ActivityImpl.java:3020)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.ComponentMigrationSupport$ServiceLinksDiffer.findServiceLinks(ComponentMigrationSupport.java:1799)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.ComponentMigrationSupport$ServiceLinksDiffer.populateDiffs(ComponentMigrationSupport.java:1788)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.ComponentMigrationSupport$Differ.calculate(ComponentMigrationSupport.java:942)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.ComponentMigrationSupport$ProcessInstanceSynchronizerImpl.build(ComponentMigrationSupport.java:715)
at oracle.bpm.bpmn.engine.model.runtime.instancehandling.ComponentInstanceMigrationAction$PreProcessTargetComponentAction.execute(ComponentInstanceMigrationAction.java:641)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.deploy(BPMNServiceEngine.java:474)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.deploy(BPMNServiceEngine.java:151)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:238)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:94)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:150)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.load(CompositeDeploymentManagerImpl.java:63)
at sun.reflect.GeneratedMethodAccessor10032.invoke(Unknown Source)

 
Deployment is working fine only if 'Keep running instances on after redeployment' option is unchecked.

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