[jboss-jira] [JBoss JIRA] (DROOLS-1714) Accumulate compile issue with java dialect
Edson Tirelli (JIRA)
issues at jboss.org
Thu Aug 24 14:53:00 EDT 2017
[ https://issues.jboss.org/browse/DROOLS-1714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edson Tirelli reassigned DROOLS-1714:
-------------------------------------
Assignee: Mario Fusco (was: Edson Tirelli)
> 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
>
> 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