[jboss-jira] [JBoss JIRA] (JBRULES-3407) Error generating invokers using a declaration having a primitive type
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Fri Mar 2 11:39:36 EST 2012
Mario Fusco created JBRULES-3407:
------------------------------------
Summary: Error generating invokers using a declaration having a primitive type
Key: JBRULES-3407
URL: https://issues.jboss.org/browse/JBRULES-3407
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Mario Fusco
Assignee: Mario Fusco
When the value type of a declaration is primitive, the invokers created via mvel templating using that declaration cannot be compiled because they try to do an invalid cast from an Object to a primitive type, generating an error as it follows:
java.lang.AssertionError: Unable to generate rule invoker. : [Accumulate: input=[AND [[Pattern: id=null; objectType=MyObj]] ]]
org/drools/Rule_foo_3191b39fd6ce40eaac55301df07acc19AccumulateExpression0Invoker.java (19:754) : Cannot cast from Object to long
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list