You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Alessandro Adamou (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/20 12:49:34 UTC

[jira] [Resolved] (STANBOL-495) Registry with materialized (hasOntology,isOntologyOf) pairs causes infinite loop

     [ https://issues.apache.org/jira/browse/STANBOL-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessandro Adamou resolved STANBOL-495.
---------------------------------------

    Resolution: Fixed
    
> Registry with materialized (hasOntology,isOntologyOf) pairs causes infinite loop
> --------------------------------------------------------------------------------
>
>                 Key: STANBOL-495
>                 URL: https://issues.apache.org/jira/browse/STANBOL-495
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Ontology Manager
>            Reporter: Alessandro Adamou
>            Assignee: Alessandro Adamou
>            Priority: Critical
>              Labels: memory_leak
>
> It seems that if an ontology registry (in RDF) contains a pair of triples such as
> <Library1 meta:hasOntology Ontology1>
> <Ontology1 meta:isOntologyOf Library1>
> RegistryManagerImpl.populateRegistry() method enters an infinite loop.
> This ends up in a StackOverflowError and the RegistryManagerImpl component failing to activate.
> It should be possible to solve it by adding a check to a visitor method.

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