[
http://jira.jboss.com/jira/browse/JBRULES-1156?page=all ]
Edson Tirelli closed JBRULES-1156.
----------------------------------
Resolution: Done
Done.
WorkingMemoryFileLogger is raising NPE for rules containing
unbalanced OR CEs
-----------------------------------------------------------------------------
Key: JBRULES-1156
URL:
http://jira.jboss.com/jira/browse/JBRULES-1156
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Reteoo
Affects Versions: 4.0.1
Reporter: Edson Tirelli
Assigned To: Edson Tirelli
Fix For: 4.0.2
Apply WorkingMemoryFileLogger for rules like the following and it will raise the NPE:
rule "Your First Rule"
#include attributes such as "salience" here...
when
(or
not Venue()
(and v:Venue()
l:ListeSousVenue()
p:Param()))
then
#actions
System.out.println("OK - 1");
end
rule "Your Second Rule"
#include attributes such as "salience" here...
when
(or
not Venue()
(and p:Param()
l:ListeSousVenue()
v:Venue()))
then
#actions
System.out.println("OK - 2");
end
--
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