[jboss-jira] [JBoss JIRA] (JBRULES-2620) ActivationCreatedEvent - Activation: InitialFactImpl in Object set

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Wed Feb 1 05:26:39 EST 2012


     [ https://issues.jboss.org/browse/JBRULES-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoffrey De Smet updated JBRULES-2620:
--------------------------------------

    Fix Version/s: 5.4.0.Beta3
                       (was: 5.4.0.Beta2)

    
> ActivationCreatedEvent - Activation: InitialFactImpl in Object set    
> ----------------------------------------------------------------------
>
>                 Key: JBRULES-2620
>                 URL: https://issues.jboss.org/browse/JBRULES-2620
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-api
>    Affects Versions: 5.1.0.FINAL
>            Reporter: Wolfgang Laun
>            Assignee: Edson Tirelli
>             Fix For: 5.4.0.Beta3
>
>
> 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 at 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list