Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-1068

Better error handling for incorrect chars with rule attributes

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.2.0.CR1
    • 4.0.0.GA
    • None
    • None

    Description

      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)

      Attachments

        Activity

          People

            etirelli@redhat.com Edson Tirelli
            gernotstarke Dr. Gernot Starke (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty