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

Compiled Rule Would Not Execute with Array of Objects in Java Expressions

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

    XMLWordPrintable

Details

    Description

      The compilation is fine for a rule containing the following statement:
      eval($fact.stayHasDaysOfWeek("1,2,3", false, (String[][])"2008-04-01", "2008-04-10")),

      But would cause the following exception during execution:
      org.drools.RuntimeDroolsException: org.drools.base.mvel.MVELEvalExpression@1ad98ef : org.mvel.PropertyAccessException: unable to resolve property: $fact.stayHasDaysOfWeek("1,2,3", false, (String[][])"2008-04-01", "2008-04-10")
      ....

      Will upload the test project to demonstrate this issue.

      Attachments

        Activity

          People

            mproctor@redhat.com Mark Proctor
            mingjin_jira Ming Jin (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty