[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2396) ReturnValueRestriction passes null to evaluator
Nick Heudecker (JIRA)
jira-events at lists.jboss.org
Mon Jan 4 23:12:31 EST 2010
[ https://jira.jboss.org/jira/browse/JBRULES-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Heudecker updated JBRULES-2396:
------------------------------------
Attachment: test_DateComparison.drl
Drools-compiler integration test - rules.
> ReturnValueRestriction passes null to evaluator
> -----------------------------------------------
>
> Key: JBRULES-2396
> URL: https://jira.jboss.org/jira/browse/JBRULES-2396
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-core
> Environment: Drools 5.1.0-SNAPSHOT, JDK 1.6.0, OSX 10.6
> Reporter: Nick Heudecker
> Assignee: Mark Proctor
> Attachments: DateComparisonTest.java, null-date-eval.patch, test_DateComparison.drl
>
>
> When attempting 'less than', 'greater than', 'less than equals to' and 'greater than equals to' operations on dates, the ReturnValueRestriction passes a null to the evaluator's InternalWorkingMemory param, causing an NPE when the evaluator attempts to get the date formats from the Working Memory.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list