[rules-users] Unknown execution error: jitting

David R Robison drrobison at openroadsconsulting.com
Thu Dec 20 09:03:51 EST 2012


I have a rule that runs fine when I execute it inside Guvnor in a Test 
Scenario but when I run it in production I get the following error.

Exception in thread "Thread-24" java.lang.RuntimeException: Exception 
jitting: $incidentRoutingIncreasing.isIncreasing && 
$sign.routeMileMarker > routeMileMarker || 
!$incidentRoutingIncreasing.isIncreasing && $sign.routeMileMarker < 
routeMileMarker
     at 
org.drools.rule.constraint.MvelConstraint.executeJitting(MvelConstraint.java:219)
     at 
org.drools.rule.constraint.MvelConstraint.access$000(MvelConstraint.java:41)
     at 
org.drools.rule.constraint.MvelConstraint$1.run(MvelConstraint.java:201)
     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
     at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.VerifyError: (class: 
ConditionEvaluatorebdfa6ebae044e95bc706dfcd6f5654a, method: evaluate 
signature: 
(Ljava/lang/Object;Lorg/drools/common/InternalWorkingMemory;Lorg/drools/reteoo/LeftTuple;)Z) 
Expecting to find integer on stack
     at java.lang.Class.getDeclaredConstructors0(Native Method)
     at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404)
     at java.lang.Class.getConstructor0(Class.java:2714)
     at java.lang.Class.getConstructor(Class.java:1674)
     at 
org.drools.rule.builder.dialect.asm.ClassGenerator.newInstance(ClassGenerator.java:173)
     at 
org.drools.rule.constraint.ASMConditionEvaluatorJitter.jitEvaluator(ASMConditionEvaluatorJitter.java:53)
     at 
org.drools.rule.constraint.MvelConstraint.executeJitting(MvelConstraint.java:217)
     ... 5 more

The rule does seem to fire. Any idea what it is trying to tell me or any 
hints on how to debug this?
TNX David

-- 

David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: drrobison at openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526



This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed.
If you are not the intended recipient, please delete this email immediately.




More information about the rules-users mailing list