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

Rule Removal throws NPEs in a variety of ways

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.0.0.Final
    • 6.0.0.CR5
    • None
    • None

      Scenario:
      1) A KBase is created
      2) A KBuilder is created, using the original KBase, to compile more rules in the SAME package
      3) The new packages are explicitly added to the original KBase

      This causes an in-place removal/readdition of the original rules.
      This process may fail in at least 3/4 different places.

      Test cases are inlcuded here:
      https://github.com/droolsjbpm/drools/pull/284

            mfusco@redhat.com Mario Fusco
            dsotty Davide Sottara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: