[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2268) Unknown Parser Error when spreading rule condition over multiple lines

Jeremy Ary (JIRA) jira-events at lists.jboss.org
Fri Sep 4 12:17:24 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBRULES-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12484589#action_12484589 ] 

Jeremy Ary commented on JBRULES-2268:
-------------------------------------

I had issues building jars from the 5.0.1 source, but I downloaded the binaries and manually placed them in my drools runtime folder.  Still seeing the same parsing error.

> Unknown Parser Error when spreading rule condition over multiple lines
> ----------------------------------------------------------------------
>
>                 Key: JBRULES-2268
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-2268
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler
>    Affects Versions: 5.0.0.CR1
>         Environment: XP-SP3, eclipse 3.4.2, 5.0.0.CR1
>            Reporter: Jeremy Ary
>            Assignee: Edson Tirelli
>
> Full message:
> Unknown error while parsing. This is a bug. Please contact the Development team.
> To recreate:
> I broke a condition over multiple lines and mistakenly misgrouped my parentheses, leading to an unknown error while parsing:
> rule "recreate bug"
>       when
>             Loan ( amount >= 175000 )
>             && ( program == "FHA" ) )
>       then
>             modify (queueList) { add (QueueIds.UWENTRY) }
> end
> When corrected to the following, the rule is parsed properly:
> rule "recreate bug"
>       when
>             Loan ( ( amount >= 175000 )
>             && ( program == "FHA" ) )
>       then
>             modify (queueList) { add (QueueIds.UWENTRY) }
> end

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list