[
https://issues.jboss.org/browse/JBRULES-3657?page=com.atlassian.jira.plug...
]
RH Bugzilla Integration commented on JBRULES-3657:
--------------------------------------------------
Radovan Synek <rsynek(a)redhat.com> made a comment on [bug
860698|https://bugzilla.redhat.com/show_bug.cgi?id=860698]
Verified on 5.3.1.BRMS roll-up #1
Eval bytecode not correctly generated
-------------------------------------
Key: JBRULES-3657
URL:
https://issues.jboss.org/browse/JBRULES-3657
Project: JBRULES
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 5.3.1.Final
Reporter: Mario Fusco
Assignee: Mario Fusco
Fix For: 5.3.2.Final
When a declaration does a double dereferencing, with the value of the method returned by
the second dereferencing being a primitive type, the bytecode of the eval class using it
is not correctly generated and causes, when instanced, an Exception like the following:
Exception in thread "main" java.lang.VerifyError: (class:
gov/ssa/asa/rules/Rule_vhrGroupingByLocationEval0Invoker, method: evaluate signature:
(Lorg/drools/spi/Tuple;[Lorg/drools/rule/Declaration;Lorg/drools/WorkingMemory;Ljava/lang/Object;)Z)
Expecting to find integer on stack
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:413)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira