Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-495

Registry with materialized (hasOntology,isOntologyOf) pairs causes infinite loop

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            alessandro.adamou Alessandro Adamou
            alessandro.adamou Alessandro Adamou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: