[
https://issues.jboss.org/browse/JBPM-3029?page=com.atlassian.jira.plugin....
]
Kris Verlaenen commented on JBPM-3029:
--------------------------------------
Could you provide a little more detail, like your bpmn2 xml fragment containing the script
node definition, or java code that could be used to reproduce the issue? As I'm not
capable of reproducing this issue. I just downloaded and tried the latest snapshot build
(#70) and create a new jBPM project with sample process in it, which contains an MVEL
script node, and that seemed to execute fine.
JBPM runtime throws error while executing Action task with MVLE
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
Labels: jBPM5
JBPM runtime throws below error while executing action task with MVLE 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