Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1130

Executable model compilation fails with function call and large input array

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.5.1.GA
    • 7.4.1.GA
    • BRE
    • 2019 Week 41-43 (from Okt 7)

      A rule with the following RHS fails to compile in the executable model:

      $input.setNo12Count(functions.sumOf(new Object[]{$no1Count_1, $no2Count_1, $no3Count_1, $no4Count_1, $no5Count_1, $no6Count_1, $no7Count_1, $no8Count_1, $no9Count_1, $no10Count_1, $no11Count_1}).intValue());
      

      Failure:

         text=cannot find symbol
        symbol:   method execute((drools,$n[...]t); })
      

      Compilation is successful if one of the input parameters (eg. $no11Count_1) is removed.

              lmolteni@redhat.com Luca Molteni
              rhn-support-mputz Martin Weiler (Inactive)
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: