java.lang.NullPointerException: null

GitHub | johardi | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Protege behaves badly when reopening an ontology

    GitHub | 9 months ago | johardi
    java.lang.NullPointerException: null

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.protege.editor.owl.model.inference.NoOpReasoner.getBottomObjectPropertyNode()
    2. Protege OWL Editor
      OWLObjectTreeCellRenderer.getTreeCellRendererComponent
      1. org.protege.editor.owl.model.inference.NoOpReasoner.getBottomObjectPropertyNode(NoOpReasoner.java:195)[protege-editor-owl.jar:na]
      2. org.protege.editor.owl.ui.renderer.OWLCellRenderer.lambda$highlightPropertyIfUnsatisfiable$18(OWLCellRenderer.java:913)[protege-editor-owl.jar:na]
      3. org.protege.editor.owl.model.inference.DisplayedInferencePreferences.executeTask(DisplayedInferencePreferences.java:118)[protege-editor-owl.jar:na]
      4. org.protege.editor.owl.model.inference.ReasonerPreferences.executeTask(ReasonerPreferences.java:182)[protege-editor-owl.jar:na]
      5. org.protege.editor.owl.ui.renderer.OWLCellRenderer.highlightPropertyIfUnsatisfiable(OWLCellRenderer.java:908)[protege-editor-owl.jar:na]
      6. org.protege.editor.owl.ui.renderer.OWLCellRenderer.renderToken(OWLCellRenderer.java:807)[protege-editor-owl.jar:na]
      7. org.protege.editor.owl.ui.renderer.OWLCellRenderer.highlightText(OWLCellRenderer.java:743)[protege-editor-owl.jar:na]
      8. org.protege.editor.owl.ui.renderer.OWLCellRenderer.prepareTextPane(OWLCellRenderer.java:715)[protege-editor-owl.jar:na]
      9. org.protege.editor.owl.ui.renderer.OWLCellRenderer.prepareRenderer(OWLCellRenderer.java:483)[protege-editor-owl.jar:na]
      10. org.protege.editor.owl.ui.renderer.OWLCellRenderer.getTreeCellRendererComponent(OWLCellRenderer.java:369)[protege-editor-owl.jar:na]
      11. org.protege.editor.owl.ui.tree.OWLObjectTreeCellRenderer.getTreeCellRendererComponent(OWLObjectTreeCellRenderer.java:34)[protege-editor-owl.jar:na]
      11 frames
    3. Java RT
      BasicTreeUI$NodeDimensionsHandler.getNodeDimensions
      1. javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2807)[na:1.8.0_66]
      1 frame