Issue in Ontology metrics panel after removing active ontology
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
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
Can someone please advise how I can properly remove the reference to the
previously active ontology?