Issue Type: Bug Bug
Affects Versions: 5.4.0.Final
Assignee: Mark Proctor
Components: drools-compiler
Created: 14/Jun/12 11:16 AM
Description:

The method nullSafeEqualityComparison uses the compareTo method which is not null safe. The issue can be reproduce by calling nullSafeEqualityComparison with the second parameter null.

There are two possible fixes:
1) use equals instead of compareTo in nullSafeEqualityComparison
2) or add a check for the non nullity of the second argument.

Project: Drools
Priority: Major Major
Reporter: Davide Grohmann
Security Level: Public (Everyone can see)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira