Skip to content

.dispose throws NPE #11

@phillord

Description

@phillord

I'm getting a NPE from dispose().

Root cause of the problem appears to be that the ConcurrentOWLOntologyImpl can return null with
getOWLOntologyManager -- in this case, because I have already removed the OWLOntology from the OWLOntologyManager myself.

Not sure whose fault this is really. I can dispose the reasoner before I detact the ontology from the manager. But if this is required, I guess, the OWL API doc needs updating to state that this is necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions