Bonita Studio 6.3.3 - run has failed while deploying the process

1
0
-1

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 <empty-name> 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 <empty-name> 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 <empty-name> 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 <empty-name> 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
2 answers

1
+1
-1
This one is the BEST answer!

Hello;

It's seem in the mapping some expression is not correclty fullfill : could you check your mapping ? Look the error Condition expression failed to export left operand: - See more at: http://community.bonitasoft.com/answers/bonita-studio-633-run-has-failed...

Comments

Submitted by Sean McP on Tue, 09/09/2014 - 09:44

Thanks I eventually found the problem, this issue was not found by validation though...need to look at it again,

regards

Submitted by sandra.storfinger on Tue, 05/19/2015 - 12:40

Hello, I currently have the same problem. Where was the mistake?

regards Sandra

1
0
-1

The mistake was an error is still in your process, and then you can't export it. Check the errors (panel error). Maybe Sean can tell what was its specific error ?

Notifications