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

2 accumulates followed by an "or" causes a bogus ClassCast exception

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

XMLWordPrintable

    • Hide

      Test case included. Fails with
      org.drools.RuntimeDroolsException: java.lang.ClassCastException: org.drools.reteoo.InitialFactImpl cannot be cast to org.drools.test.DroolsTest$Person

      Changing the "or" on line 24 to "and" doesn't trigger the bug.

      (Had a look at JBRULES-3482 which seems very similar, but apparently it's different enough not to be fixed in 5.4.0.Final or 5.5.0-SNAPSHOT.)

      Show
      Test case included. Fails with org.drools.RuntimeDroolsException: java.lang.ClassCastException: org.drools.reteoo.InitialFactImpl cannot be cast to org.drools.test.DroolsTest$Person Changing the "or" on line 24 to "and" doesn't trigger the bug. (Had a look at JBRULES-3482 which seems very similar, but apparently it's different enough not to be fixed in 5.4.0.Final or 5.5.0-SNAPSHOT.)

          mfusco@redhat.com Mario Fusco
          kccoyote_jira K C (Inactive)
          Archiver:
          rhn-support-ceverson Clark Everson

            Created:
            Updated:
            Resolved:
            Archived: