[jboss-jira] [JBoss JIRA] Created: (JBRULES-1423) ObjectFactory$ObjectEqualsComparator.equals throws NPE if second arg is null

Patrick Gras (JIRA) jira-events at lists.jboss.org
Wed Jan 16 08:16:19 EST 2008


ObjectFactory$ObjectEqualsComparator.equals throws NPE if second arg is null
----------------------------------------------------------------------------

                 Key: JBRULES-1423
                 URL: http://jira.jboss.com/jira/browse/JBRULES-1423
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.0.4
            Reporter: Patrick Gras
            Priority: Critical


org.drools.base.evaluators.ObjectFactory$ObjectEqualsComparator.equals throws NPE if arg0 != null and arg1 == null.

protected static class ObjectEqualsComparator {

        // trying to implement runtime type coercion
        public boolean equals( Object arg0, Object arg1 ) {


      ....




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list