Hide Forgot
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000005fcRu&sbstr=00397148&sfdc.override=1 Steps to Reproduce: Based in JBRULES-2253 * Run Guvnor 5.0.x * Import the attached repo (unzip it first). * browse to KnowledgeBases/org/acme/insurance/pricing/ - press "build package" * shut it down, restart (flushes caches etc...) Then: * browse to KnowledgeBases/org/acme/insurance/pricing/Test Scenarios * open PolicyQuotePackageTest * run it: securitylevel_name: Public A MVEL failure causes Drools exceptions in some circumstances: Caused by: java.lang.NoClassDefFoundError: org/acme/insurance/Policy at ASMAccessorImpl_62408281250565694450.setValue(Unknown Source) at org.mvel2.optimizers.dynamic.DynamicSetAccessor.setValue(DynamicSetAccessor.java:74) at org.mvel2.compiler.CompiledAccExpression.setValue(CompiledAccExpression.java:47) at org.mvel2.MVEL.executeSetExpression(MVEL.java:962) at org.mvel2.ast.WithNode$ParmValuePair.eval(WithNode.java:242) at org.mvel2.ast.WithNode.getReducedValueAccelerated(WithNode.java:67) at org.mvel2.ast.InterceptorWrapper.getReducedValueAccelerated(InterceptorWrapper.java:38) at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:104) at org.mvel2.MVEL.executeExpression(MVEL.java:995) at org.drools.base.mvel.MVELConsequence.evaluate(MVELConsequence.java:91) at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:966) This issue was fixed in MVEL: http://jira.codehaus.org/browse/MVEL-213 Is necessary update the mvel library to fix this issue in Drools. Although the case related https://issues.jboss.org/browse/JBRULES-2253 mentions that the failure occurs in Sun JVM, I realized tests and the same occurs with IBM JVM. A MVEL updates, fixes the issue it to both. (I tested changing mvel 2.0.10 to 2.0.19).
Link: Added: This issue is related to JBRULES-2253
Link: Added: This issue related BRMS-534
Link: Added: This issue Cloned from BRMS-535
Release Notes Text: Added: Done
Link: Removed: This issue is related to BRMS-534