[jboss-jira] [JBoss JIRA] Closed: (JBRULES-2102) Expert evaluate() does *not* throw NPE
Edson Tirelli (JIRA)
jira-events at lists.jboss.org
Wed Jun 3 12:28:56 EDT 2009
[ https://jira.jboss.org/jira/browse/JBRULES-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edson Tirelli closed JBRULES-2102.
----------------------------------
Fix Version/s: 5.1.0.M1
Resolution: Done
Fixed. Thanks for reporting.
> Expert evaluate() does *not* throw NPE
> --------------------------------------
>
> Key: JBRULES-2102
> URL: https://jira.jboss.org/jira/browse/JBRULES-2102
> Project: JBoss Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 5.0.0.FINAL
> Environment: java 1.6.0_11, Ubuntu
> Reporter: Travis Scheponik
> Assignee: Edson Tirelli
> Fix For: 5.1.0.M1
>
>
> http://pastebin.com/m1dffefc4 <-- offending method within Expert
> example ObjectA( a:member1, b:member2, a > b) <-- this crashes if b is null
> example: ObjectA(a:member1, b:member2, eval(a > b )) <-- afaik, this *should* crash if a or b is null
> This was requested to be posted by: etirelli and bjornelo
--
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