[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1068) Better error handling for incorrect chars with rule attributes

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Sat Apr 30 13:14:18 EDT 2011


     [ https://issues.jboss.org/browse/JBRULES-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edson Tirelli closed JBRULES-1068.
----------------------------------

         Assignee: Edson Tirelli  (was: Mark Proctor)
    Fix Version/s: 5.2.0.CR1
                       (was: FUTURE)
       Resolution: Done


This is working now.

> Better error handling for incorrect chars with rule attributes
> --------------------------------------------------------------
>
>                 Key: JBRULES-1068
>                 URL: https://issues.jboss.org/browse/JBRULES-1068
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions:  4.0.0.GA
>         Environment: Eclipse 3.2
>            Reporter: Dr. Gernot Starke
>            Assignee: Edson Tirelli
>             Fix For: 5.2.0.CR1
>
>
> rule "Golfer-Riddle with a single solution?" 
> 	activation-group="unique-solution"
>     when
>         // There is a golfer names Fred, 
>         $f: Golfer( name == "Fred",
> ...
> yields:
> Exception in thread "main" org.drools.compiler.DroolsParserException: Unknown error while parsing. This is a bug. Please contact the Development team.
> 	at org.drools.compiler.DrlParser.compile(DrlParser.java:180)
> 	at org.drools.compiler.DrlParser.parse(DrlParser.java:61)
> 	at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:158)
> 	at arc42.drools.samples.golfer.GolfingExample.main(GolfingExample.java:19)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list