When MVEL evaluates
m.setStatus( 1 + 2 * 3 + m.getStatus() );
the following exception happens.
Exception executing consequence for rule "Hello World" in com.sample: [Error: no such method or function: m] [Near : {... m.setStatus( 1 + 2 * 3 + m.getStatus() ); ....}]
If this is something like
Exception executing consequence for rule "Hello World" in com.sample: [Error: no such method or function: m]
m.setStatus( 1 + 2 + 3 + m.getStatus() ); <== Multiplication "*" is not used
it works without above exception.
This happens in both LHS and RHS with dialect "mvel"
- clones
-
DROOLS-2854 MVEL: expression (1 + 2 * 3 + $v ) causes "no such method or function " for bind variable
- Closed
- is related to
-
RHDM-815 MVEL expression (1 + 2 * 3 + 4 * $v ) causes "no such method or function" error for bind variable
- Closed