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

Travis Scheponik (JIRA) jira-events at lists.jboss.org
Wed Jun 3 11:15:36 EDT 2009


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: Mark Proctor


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