Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-4342

Using BigDecimal with From Accumulate causes an "Error: argument type mismatch"

    XMLWordPrintable

Details

    • 2019 Week 29-31
    • Hide
      1. Import the attached project
      2. Go to the project and do Build and Deploy
      3. Fire all rules using the following request:
        curl -X POST "http://localhost:8080/kie-server/services/rest/server/containers/instances/reproducer-02425606" -H "accept: application/json" -H "content-type: application/json" -d @request.json

      Where request.json is the file attached.

      Show
      Import the attached project Go to the project and do Build and Deploy Fire all rules using the following request: curl -X POST "http://localhost:8080/kie-server/services/rest/server/containers/instances/reproducer-02425606" -H "accept: application/json" -H "content-type: application/json" -d @request.json Where request.json is the file attached.
    • NEW
    • NEW

    Description

      When written a rule that does a sum using ‘from accumulate’. The rule validates successfully. However, when trying to test it, is returned a very generic error message: Error: argument type mismatch.

      Attachments

        1. reproducer-02425606.zip
          57 kB
        2. request.json
          0.5 kB
        3. testSum.scenario
          2 kB

        Issue Links

          Activity

            People

              lmolteni@redhat.com Luca Molteni
              rhn-support-roribeiro Rodrigo Ribeiro (Inactive)
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: