Hi there,
created a new process several steps, and the extracted a step to a sub-routine. Created a mapping between the two and tried to deploy which is when i get the error “Run has failed while deploying the process”.
I get the following dump…
org.bonitasoft.engine.expression.InvalidExpressionException: Condition expression failed to export left operand: org.bonitasoft.studio.condition.conditionModel.impl.Expression_ProcessRefImpl@b68d01
org.bonitasoft.studio.engine.export.EngineExpressionUtil.createComparisonExpression(EngineExpressionUtil.java:568)
org.bonitasoft.studio.engine.export.EngineExpressionUtil.buildSimpleEngineExpression(EngineExpressionUtil.java:396)
org.bonitasoft.studio.engine.export.EngineExpressionUtil.buildSimpleEngineExpressionWithName(EngineExpressionUtil.java:387)
org.bonitasoft.studio.engine.export.EngineExpressionUtil.createExpression(EngineExpressionUtil.java:315)
org.bonitasoft.studio.engine.export.switcher.SequenceFlowSwitch.caseSequenceFlow(SequenceFlowSwitch.java:77)
org.bonitasoft.studio.engine.export.switcher.SequenceFlowSwitch.caseSequenceFlow(SequenceFlowSwitch.java:1)
org.bonitasoft.studio.model.process.util.ProcessSwitch.doSwitch(ProcessSwitch.java:1044)
org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:53)
org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:69)
org.bonitasoft.studio.engine.export.DesignProcessDefinitionBuilder.processSequenceFlows(DesignProcessDefinitionBuilder.java:175)
org.bonitasoft.studio.engine.export.DesignProcessDefinitionBuilder.createDefinition(DesignProcessDefinitionBuilder.java:131)
org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:116)
org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:107)
org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:186)
org.bonitasoft.studio.engine.operation.DeployProcessOperation.deployProcess(DeployProcessOperation.java:183)
org.bonitasoft.studio.engine.operation.DeployProcessOperation.deploy(DeployProcessOperation.java:164)
org.bonitasoft.studio.engine.operation.DeployProcessOperation.run(DeployProcessOperation.java:117)
org.bonitasoft.studio.engine.command.RunProcessCommand$2.run(RunProcessCommand.java:216)
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!ENTRY org.bonitasoft.studio.common 4 0 2014-09-07 09:34:34.153
!ERROR org.bonitasoft.engine.expression.InvalidExpressionException: Condition expression failed to export left operand: org.bonitasoft.studio.condition.conditionModel.impl.Expression_ProcessRefImpl@b68d01
!STACK 0
java.lang.RuntimeException: org.bonitasoft.engine.expression.InvalidExpressionException: Condition expression failed to export left operand: org.bonitasoft.studio.condition.conditionModel.impl.Expression_ProcessRefImpl@b68d01
at org.bonitasoft.studio.engine.export.EngineExpressionUtil.createComparisonExpression(EngineExpressionUtil.java:568)
at org.bonitasoft.studio.engine.export.EngineExpressionUtil.buildSimpleEngineExpression(EngineExpressionUtil.java:396)
at org.bonitasoft.studio.engine.export.EngineExpressionUtil.buildSimpleEngineExpressionWithName(EngineExpressionUtil.java:387)
at org.bonitasoft.studio.engine.export.EngineExpressionUtil.createExpression(EngineExpressionUtil.java:315)
at org.bonitasoft.studio.engine.export.switcher.SequenceFlowSwitch.caseSequenceFlow(SequenceFlowSwitch.java:77)
at org.bonitasoft.studio.engine.export.switcher.SequenceFlowSwitch.caseSequenceFlow(SequenceFlowSwitch.java:1)
at org.bonitasoft.studio.model.process.util.ProcessSwitch.doSwitch(ProcessSwitch.java:1044)
at org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:53)
at org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:69)
at org.bonitasoft.studio.engine.export.DesignProcessDefinitionBuilder.processSequenceFlows(DesignProcessDefinitionBuilder.java:175)
at org.bonitasoft.studio.engine.export.DesignProcessDefinitionBuilder.createDefinition(DesignProcessDefinitionBuilder.java:131)
at org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:116)
at org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:107)
at org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:186)
at org.bonitasoft.studio.engine.operation.DeployProcessOperation.deployProcess(DeployProcessOperation.java:183)
at org.bonitasoft.studio.engine.operation.DeployProcessOperation.deploy(DeployProcessOperation.java:164)
at org.bonitasoft.studio.engine.operation.DeployProcessOperation.run(DeployProcessOperation.java:117)
at org.bonitasoft.studio.engine.command.RunProcessCommand$2.run(RunProcessCommand.java:216)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.bonitasoft.engine.expression.InvalidExpressionException: Condition expression failed to export left operand: org.bonitasoft.studio.condition.conditionModel.impl.Expression_ProcessRefImpl@b68d01
at org.bonitasoft.studio.engine.export.EngineExpressionUtil.createComparisonExpression(EngineExpressionUtil.java:561)
... 18 more