Issue in Ontology metrics panel after removing active ontology

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issue in Ontology metrics panel after removing active ontology

M. Vreijling
In my Protege 5.5.0 beta-8 plugin I successfully load a new ontology from
file and set it as the active ontology. In this process I remove the
previously active ontology from the manager removeOntology(previousOnt). All
seems fine until I open the Active ontology panel. This causes :
Uncaught Exception in thread 'AWT-EventQueue-0'
java.lang.RuntimeException: java.lang.IllegalStateException: Manager on
ontology
OntologyID(OntologyIRI(<http://www.semanticweb.org/mv/ontologies/2019/2/untitled-ontology-857>)
VersionIRI(<null>)) is null; the ontology is no longer associated to a
manager. Ensure the ontology is not being used after being removed from its
manager.

Can someone please advise how I can properly remove the reference to the
previously active ontology?

Any help is much appreciated.

/Mark




--
Sent from: http://protege-project.136.n4.nabble.com/Protege-Developer-f4659816.html
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev