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


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

        

Reply via email to