Deployed Process Tasks Can Not Be Executed From Workspace Due To Process Compilation Problems (Doc ID 1311399.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Business Process Management Suite - Version: 6.0.5 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

You have published and deployed a project with one or more processes into BPM Enterprise environment. However, BPM Workspace does not show application tasks related to one or more of the processes.

When Engine logs are analyzed, the following error message could be seen :

Process '/Process_Name#Default-1.0' could not be started. Details:\njava.lang.NullPointerException
java.lang.NullPointerException
at fuego.metadata.ActivityItem.setActivityItemInfo(ActivityItem.java:68)
at fuego.server.execution.microactivity.feature.ItemsSetFeature.create(ItemsSetFeature.java:56)
at fuego.metadata.execution.compiler.TransformationBuilder.addParentActivity(TransformationBuilder.java:1842)
at fuego.metadata.execution.compiler.TransformationBuilder.addParentActivity(TransformationBuilder.java:210)
at fuego.metadata.execution.compiler.xpdl.microactivity.CommonMicroActivityCompiler.compile(CommonMicroActivityCompiler.java:35)
at fuego.metadata.execution.compiler.xpdl.microactivity.CommonMicroActivityCompiler.compile(CommonMicroActivityCompiler.java:27)
at fuego.metadata.execution.compiler.xpdl.microactivity.ComposedModelElementCompiler.compile(ComposedModelElementCompiler.java:44)
at fuego.metadata.execution.compiler.xpdl.MicroActivityCompilerImpl.compile(MicroActivityCompilerImpl.java:79)
at fuego.metadata.execution.compiler.ModelCompilerImpl.compile(ModelCompilerImpl.java:62)
at fuego.metadata.Process.compile(Process.java:1170)
at fuego.metadata.Process.compileProcess(Process.java:1107)
at fuego.metadata.Process.loadProcess(Process.java:947)
at fuego.metadata.Process.initProcess(Process.java:753)
at fuego.metadata.Process.forName(Process.java:190)
at fuego.server.BaseActiveProcess.getProcess(BaseActiveProcess.java:110)
at fuego.server.ActiveProcessImpl.loadMetadata(ActiveProcessImpl.java:1466)
at fuego.server.ActiveProcessImpl.loadMetadata(ActiveProcessImpl.java:1451)
at fuego.server.ActiveProcessImpl.<init>(ActiveProcessImpl.java:179)
at fuego.server.BaseActiveProcess.<init>(BaseActiveProcess.java:55)
at fuego.ejbengine.EJBActiveProcess.<init>(EJBActiveProcess.java:48)
at fuego.ejbengine.EJBActiveProcess.createAndAddToMaps(EJBActiveProcess.java:66)
at fuego.ejbengine.EJBActiveProcessManager.createActiveProcess(EJBActiveProcessManager.java:58)
at fuego.server.ActiveProcessManager.handleProcess(ActiveProcessManager.java:434)
at fuego.server.service.ActiveProcessService.startProcess(ActiveProcessService.java:136)
at fuego.ejbengine.service.EJBActiveProcessService.startProcessImpl(EJBActiveProcessService.java:88)
at fuego.ejbengine.service.EJBActiveProcessService.access$000(EJBActiveProcessService.java:31)
at fuego.ejbengine.service.EJBActiveProcessService$1.execute(EJBActiveProcessService.java:76)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:80)
at fuego.server.execution.DefaultEngineExecution.executeWithoutComponentImmediate(DefaultEngineExecution.java:185)
at fuego.server.execution.EngineExecution.executeWithoutComponentImmediate(EngineExecution.java:86)
at fuego.ejbengine.service.EJBActiveProcessService.startProcess(EJBActiveProcessService.java:73)
at fuego.server.service.ActiveProcessService.runProcessesLoader(ActiveProcessService.java:118)
at fuego.server.service.ActiveProcessService.activateProcesses(ActiveProcessService.java:88)
at fuego.ejbengine.service.EJBActiveProcessService.doActivateProcesses(EJBActiveProcessService.java:62)
at fuego.ejbengine.service.EJBActiveProcessService.initialize(EJBActiveProcessService.java:50)
at fuego.ejbengine.DistributableObjectFactory.initializeActiveProcessService(DistributableObjectFactory.java:61)
at fuego.ejbengine.Engine.startServices(Engine.java:435)
at fuego.ejbengine.Engine.start(Engine.java:134)
at fuego.ejbengine.servlet.AbstractSchedulerServlet.init(AbstractSchedulerServlet.java:91)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:507)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1853)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1830)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1750)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2909)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:973)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:182)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:359)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)


*** This issue can also be reproduced after deploying the project using BPM Studio.

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