[
https://issues.jboss.org/browse/JBPM-3029?page=com.atlassian.jira.plugin....
]
Kris Verlaenen resolved JBPM-3029.
----------------------------------
Resolution: Done
This was an issue when using the jBPM 5 snapshot with the Drools SNAPSHOT libraries
instead of jBPM 5.2 alpha1.
jBPM5 has now been updated to Drools SNAPSHOT and this issue has been resolved
JBPM runtime throws error while executing Action task with MVEL
Dialect
-----------------------------------------------------------------------
Key: JBPM-3029
URL:
https://issues.jboss.org/browse/JBPM-3029
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 5.0
Environment: eclipse 3.6, windows xp, jdk 1.6, runtime - jbpm 5.0 Snapshot
build#70
Reporter: shashi mhatre
Assignee: Kris Verlaenen
Labels: jBPM5
Fix For: jBPM 5.0
JBPM runtime throws below error while executing action task with MVEL dialect.
java.lang.RuntimeException: unable to execute Action
at
org.jbpm.workflow.instance.node.ActionNodeInstance.internalTrigger(ActionNodeInstance.java:49)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
at
org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
at
org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:150)
at
org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)
at
org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
at
org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)
at
org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:188)
at
org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:302)
at
org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:124)
at
org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:105)
at
org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1094)
at
org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:297)
at com.sample.ProcessTest.main(ProcessTest.java:48)
Caused by: java.lang.ClassCastException: org.mvel2.compiler.ExecutableAccessor cannot be
cast to org.mvel2.compiler.CompiledExpression
at org.jbpm.process.instance.impl.MVELAction.execute(MVELAction.java:117)
at
org.jbpm.workflow.instance.node.ActionNodeInstance.internalTrigger(ActionNodeInstance.java:47)
... 14 more
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira