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

ParserException on misplaced parenthesis

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.1
    • Fix Version/s: 4.0.2
    • Component/s: drools-compiler
    • Labels:
      None
    • Environment:

      Windows XP SP2

      Description

      The following exception is thrown on parsing of the attached rules (see attached file). Take note of the incorrect parenthesis in the eval statement on the WorkerPerformanceContext condition lines. Also, please note these rules were generated by the spreadsheet compiler from an .xls decision table.

      Here is the exception:

      Caused by: 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:156)
      ... application code

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tirelli Edson Tirelli
                Reporter:
                mkejzar Matija Kejzar
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: