[jboss-jira] [JBoss JIRA] (JBRULES-3683) Invoking toString() on a fact that is an instance of a recursive type declaration causes a StackOverflowError

Mario Fusco (JIRA) jira-events at lists.jboss.org
Thu Nov 8 13:46:18 EST 2012


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

Mario Fusco updated JBRULES-3683:
---------------------------------

    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

    
> Invoking toString() on a fact that is an instance of a recursive type declaration causes a StackOverflowError
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-3683
>                 URL: https://issues.jboss.org/browse/JBRULES-3683
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Mario Fusco
>            Assignee: Mario Fusco
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list