[jboss-jira] [JBoss JIRA] Created: (JBRULES-783) NoViableAltException when parsing eval rules
John Howard (JIRA)
jira-events at lists.jboss.org
Tue Apr 10 12:53:58 EDT 2007
NoViableAltException when parsing eval rules
--------------------------------------------
Key: JBRULES-783
URL: http://jira.jboss.com/jira/browse/JBRULES-783
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 3.1-m1
Environment: VISTA 64bit
Reporter: John Howard
Assigned To: Mark Proctor
Priority: Minor
The following rules causes a NoViableAltException. Although the exception is thrown the rule does appear to fire correctly
package com.sample
rule "Test Parse"
when
eval( 3==3 )
then
System.out.println("OK");
end
NoViableAltException(-1!=[685:3: ( ( (LT|GT|LE|GE) shiftExpression )* | 'instanceof' typeSpec )]) in JavaParserParser
If the eval line is replaced by eval( 3>=3 ) then no exception is thrown
--
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