[jboss-jira] [JBoss JIRA] (JBRULES-3499) MVEL failing on new added packages
Toni Rikkola (JIRA)
jira-events at lists.jboss.org
Tue May 15 08:01:23 EDT 2012
[ https://issues.jboss.org/browse/JBRULES-3499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Toni Rikkola updated JBRULES-3499:
----------------------------------
Fix Version/s: (was: 5.4.0.Final)
> MVEL failing on new added packages
> ----------------------------------
>
> Key: JBRULES-3499
> URL: https://issues.jboss.org/browse/JBRULES-3499
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Mauricio Salatino
> Assignee: Mario Fusco
> Fix For: 5.5.0.Beta1
>
> Attachments: mvel-issue.zip
>
>
> In this simple rule:
> when
> r: Request( amount > 500 )
> String( this == r.id ) from requests
> For some reason MVEL is failing with the following exception:
> Testcase: hello(com.salaboy.mvelissue.MvelTest): Caused an ERROR
> unable to invoke method: com.salaboy.mvelissue.Request.getId: target of method is null
> java.lang.RuntimeException: unable to invoke method: com.salaboy.mvelissue.Request.getId: target of method is null
> at org.mvel2.optimizers.impl.refl.nodes.GetterAccessor.getValue(GetterAccessor.java:66)
> When a new set of rules is being added to the kbase and an activation is generated.
> I've included a version of the failing rule working with a workaround, but both should work
--
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