[jboss-jira] [JBoss JIRA] Assigned: (JBRULES-783) NoViableAltException when parsing eval rules

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Fri May 4 10:04:31 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-783?page=all ]

Edson Tirelli reassigned JBRULES-783:
-------------------------------------

    Assignee: Edson Tirelli  (was: Mark Proctor)

> 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: Edson Tirelli
>            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