[rules-users] NoSuchFieldError: session

Lance lance.leverich at gmail.com
Tue Apr 9 09:43:38 EDT 2013


I am in the midst of converting a set of rules and rule-flows from Drools
5.1.0 to 5.3.0
During the execution of the primary rule-flow, we receive an exception which
traces back to...

*Caused by: java.lang.NoSuchFieldError: session
        at
org.jbpm.process.instance.impl.MVELAction.execute(MVELAction.java:89)
        at
org.jbpm.workflow.instance.node.ActionNodeInstance.internalTrigger(ActionNodeInstance.java:47)
        at
org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)
        ...*

This appears to occur in an action node that contains the following...

*   insert(context.getVariable("shipmentDocument"));
   insert(context.getVariable("shipmentLifecycle"));*

The action node dialect is set to MVEL, and setting it to Java seems to
cause the rule-flow to never exit the action node.

The rule-flow and associated rules all work without error in our Drools
5.1.0 implementation. Any suggestions on why this might not be working in
5.3.0, and how I might go about fixing it?



--
View this message in context: http://drools.46999.n3.nabble.com/NoSuchFieldError-session-tp4023263.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list