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

Invoking toString() on a fact that is an instance of a recursive type declaration causes a StackOverflowError

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.0.0.Alpha1
    • None
    • None
    • None

    Description

      Having 2 circular declared types as the following:

      declare FactA
      fieldB: FactB
      end

      declare FactB
      fieldA: FactA
      end

      and trying to print out a fact instanced from one of them causes a StackOevrflowError

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            mfusco@redhat.com Mario Fusco
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty