[jboss-jira] [JBoss JIRA] Assigned: (JBRULES-2102) Expert evaluate() does *not* throw NPE

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Wed Jun 3 11:19:47 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBRULES-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edson Tirelli reassigned JBRULES-2102:
--------------------------------------

    Assignee: Edson Tirelli  (was: Mark Proctor)


> 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
>
> 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