Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException after running a reasoner #2

Closed
johardi opened this issue Dec 15, 2015 · 4 comments
Closed

NullPointerException after running a reasoner #2

johardi opened this issue Dec 15, 2015 · 4 comments
Labels

Comments

@johardi
Copy link
Contributor

johardi commented Dec 15, 2015

Steps to reproduce the error:

  1. Open an ontology,
  2. Run a reasoner,
  3. Open OWLDoc view and select any class entity.
java.lang.NullPointerException
    at org.coode.owl.util.OWLUtils.isStructural(OWLUtils.java:202)
    at org.coode.html.doclet.SuperclassesDoclet.getInferredElements(SuperclassesDoclet.java:57)
    at org.coode.html.doclet.AbstractOWLElementsDoclet.getElements(AbstractOWLElementsDoclet.java:69)
    at org.coode.html.doclet.ElementsDoclet.renderHeader(ElementsDoclet.java:57)
    at org.coode.html.doclet.AbstractHTMLDoclet.renderAll(AbstractHTMLDoclet.java:50)
    at org.coode.html.doclet.AbstractHTMLDoclet.renderContent(AbstractHTMLDoclet.java:43)
    at org.coode.html.doclet.AbstractHTMLDoclet.renderAll(AbstractHTMLDoclet.java:51)
    at org.coode.browser.protege.OWLDocView$2.run(OWLDocView.java:151)
    at java.lang.Thread.run(Thread.java:745)
@johardi johardi added the bug label Dec 15, 2015
ignazio1977 added a commit to co-ode-owl-plugins/ontology-browser that referenced this issue Mar 16, 2016
@ignazio1977
Copy link
Contributor

Bug in owlmanager and in the reasoner used: the reasoner is guaranteed not null at that point, but there is no guarantee that the reasoner name is not null. However the reasoner should be nice about it.

Can be fixed in OWLUtils.

@ignazio1977
Copy link
Contributor

@ignazio1977
Copy link
Contributor

Will be fixed with the next release of ontology-browser

@johardi
Copy link
Contributor Author

johardi commented May 4, 2016

The ontology-browser-4.3.0 is now released

@johardi johardi closed this as completed May 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants