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

Sporadic class cast exception during stateful session updating

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 8.41.0.Final
    • 7.73.0.Final, 8.39.0.Final
    • core engine
    • None
    • 2023 Week 21-23 (from May 22), 2023 Week 24-26 (from Jun 12)
    • Hide

      Run tests in class 

      RuleUpgradeTest

      from the attached drools-update-bug project

      Show
      Run tests in class  RuleUpgradeTest from the attached drools-update-bug project
    • NEW
    • NEW
    • ---
    • ---

    Description

      We sometimes encounter the following exception during update of stateful session:

      org.drools.core.reteoo.RightTupleImpl cannot be cast to class org.drools.core.reteoo.LeftTuple

      Up until now, we were not able to consistently reproduce the issue. Following the same steps after creating the session did not necessarily result in the exception, but we had some progress lately and the attached project triggers the exception every time.

      Project consists of multiple classes used when inserting facts and two variations of rules in separate .drl files.

      Short test description:

      • Create a stateful session with rules from initial.drl
      • Inserts several facts
      • Update container by altering between rules from initial.drl and modified.drl

       

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              bbrozovic Borna Brozović (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: