[
http://jira.jboss.com/jira/browse/JBRULES-1274?page=all ]
Edson Tirelli closed JBRULES-1274.
----------------------------------
Fix Version/s: 4.0.4
4.1.0
Resolution: Done
This is not a problem for 4.1.0 and 4.0.4 anymore. I added parser unit tests anyway.
Thanks for reporting and providing test case.
NPE when using reserved word "action" as a bound variable,
or omitting rule title
---------------------------------------------------------------------------------
Key: JBRULES-1274
URL:
http://jira.jboss.com/jira/browse/JBRULES-1274
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 4.0.2
Reporter: Justin Wick
Assigned To: Edson Tirelli
Fix For: 4.0.4, 4.1.0
The following code using the reserved word "action" causes an NPE:
rule "Test"
when
action : Object()
then
System.out.println("A RHS");
end
or this code (omitting title):
rule
when
Object()
then
System.out.println("A RHS");
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