[jboss-jira] [JBoss JIRA] (JBRULES-3657) Eval bytecode not correctly generated

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Wed Oct 17 04:07:01 EDT 2012


     [ https://issues.jboss.org/browse/JBRULES-3657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

RH Bugzilla Integration updated JBRULES-3657:
---------------------------------------------

    Bugzilla Update: Perform

    
> Eval bytecode not correctly generated
> -------------------------------------
>
>                 Key: JBRULES-3657
>                 URL: https://issues.jboss.org/browse/JBRULES-3657
>             Project: Drools
>          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


More information about the jboss-jira mailing list