[jboss-jira] [JBoss JIRA] (DROOLS-1714) Accumulate compile issue with java dialect

Mario Fusco (JIRA) issues at jboss.org
Fri Aug 25 12:42:00 EDT 2017


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

Mario Fusco updated DROOLS-1714:
--------------------------------
    Sprint: 2017 Week 34-35


> Accumulate compile issue with java dialect
> ------------------------------------------
>
>                 Key: DROOLS-1714
>                 URL: https://issues.jboss.org/browse/DROOLS-1714
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 7.2.0.Final
>            Reporter: Justin Goldsmith
>            Assignee: Mario Fusco
>             Fix For: 7.3.0.Final
>
>
> when using java dialect in a accumulate, if there is a binding in the accumulate to a type that is not imported, you get a class cast error instead of the normal unable to resolve 
> "object.java.lang.ClassCastException: org.drools.compiler.rule.builder.dialect.mvel.MVELAnalysisResult cannot be cast to org.drools.compiler.rule.builder.dialect.java.JavaAnalysisResult"
> Please see the following reproducer with three test cases that expect failure.
> 2 of the tests have the expected failure, one does not.
> https://github.com/jgoldsmith613/drools-accumulate-bug



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list