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

ActivationCreatedEvent - Activation: InitialFactImpl in Object set

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 6.0.0.Alpha1
    • 5.1.0.FINAL
    • drools-api
    • None
    • Low

      Given this rule

      rule "show no gaps"
      when
      not Gap()
      then
      System.out.println( "No gaps!" );
      end

      the ActivationCreatedEvent references an Activation, where the list of fact handles (getFactHandles) contains one element, but its Object is null:
      Fact null @0:0:27032609:1306428912:0:DEFAULT
      But the list of objects (getObjects) returns a list where there is an object:
      Object (org.drools.reteoo.InitialFactImpl): org.drools.reteoo.InitialFactImpl@4dde85f0

      This should be changed; neither a fact handle nor an object should be returned if there are no user objects participating in the activation.

            etirelli@redhat.com Edson Tirelli
            laune Wolfgang Laun (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

              Created:
              Updated:
              Archived: