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

Drool Modify operator causing ClassCastException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.0.0.Beta1
    • 6.4.0.Final
    • core engine
    • None
    • Hide

      I have attached a zip project quickly created in BC that reproduces this issue.

      Show
      I have attached a zip project quickly created in BC that reproduces this issue.
    • NEW
    • NEW

    Description

      When using the modify operator in Drools I am getting a java.lang.ClassCastException: org.adcb.finance.ResponseFact cannot be cast to org.drools.core.common.InternalFactHandle.

      This seems to happen in rules that contain Arrays & using the in/not in operator on them. I have other rules using the matches regex expression and I dont get this issue.

      This is a critical issue for us as we're using the RulesExecutionService in 6.4.0 to extend the KIE Execution service and are due to go live very soon so there is no chance of rolling back to 6.3.x without some heavy rework.

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              ajarrett1@redhat.com Ally Jarrett
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: