[
http://jira.jboss.com/jira/browse/JBRULES-1274?page=all ]
Justin Wick updated JBRULES-1274:
---------------------------------
Summary: NPE when using reserved word "action" as a bound variable, or
omitting rule title (was: NPE when using reserved word "action" as a bound
variable)
Description:
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
was:
The following code using the reserved word "action" causes an NPE:
rule
when
action : Object()
then
System.out.println("A RHS");
end
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: Mark Proctor
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