You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following exception is thrown when checking if the ontology is consistent:
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "Object.equals(Object)" because the return value of "openllet.core.boxes.abox.Node.getTerm()" is null
at openllet.core.rules.rete.JoinCondition.test(JoinCondition.java:26)
at openllet.core.rules.rete.BetaMemoryNode.testConditions(BetaMemoryNode.java:83)
at openllet.core.rules.rete.BetaMemoryNode.activate(BetaMemoryNode.java:73)
at openllet.core.rules.rete.BetaNode.activateChildren(BetaNode.java:28)
at openllet.core.rules.rete.BetaMemoryNode.activate(BetaMemoryNode.java:74)
at openllet.core.rules.rete.BetaNode.activateChildren(BetaNode.java:28)
at openllet.core.rules.rete.BetaMemoryNode.activate(BetaMemoryNode.java:74)
at openllet.core.rules.rete.BetaNode.activateChildren(BetaNode.java:28)
at openllet.core.rules.rete.BetaTopNode.activate(BetaTopNode.java:33)
at openllet.core.rules.rete.AlphaNode.lambda$activate$1(AlphaNode.java:49)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at openllet.core.rules.rete.AlphaNode.activate(AlphaNode.java:49)
at openllet.core.rules.rete.AlphaEdgeNode.activate(AlphaEdgeNode.java:76)
at openllet.core.rules.rete.AlphaNetwork.activateEdge(AlphaNetwork.java:161)
at openllet.core.rules.ContinuousRulesStrategy.addEdge(ContinuousRulesStrategy.java:88)
at openllet.core.tableau.completion.rule.SomeValuesRule.applySomeValuesRule(SomeValuesRule.java:189)
at openllet.core.tableau.completion.rule.SomeValuesRule.apply(SomeValuesRule.java:60)
at openllet.core.tableau.completion.rule.AbstractTableauRule.apply(AbstractTableauRule.java:106)
at openllet.core.rules.ContinuousRulesStrategy.complete(ContinuousRulesStrategy.java:251)
at openllet.core.boxes.abox.ABoxImpl.lambda$isConsistent$12(ABoxImpl.java:1417)
at openllet.core.utils.Timers.execute(Timers.java:118)
at openllet.core.boxes.abox.ABoxImpl.isConsistent(ABoxImpl.java:1417)
at openllet.core.boxes.abox.ABoxImpl.isConsistent(ABoxImpl.java:1269)
at openllet.core.KnowledgeBaseImpl.consistency(KnowledgeBaseImpl.java:1802)
at openllet.core.KnowledgeBaseImpl.isConsistent(KnowledgeBaseImpl.java:1877)
at openllet.core.KnowledgeBaseImplFullSync.isConsistent(KnowledgeBaseImplFullSync.java:403)
at openllet.owlapi.PelletReasoner.isConsistent(PelletReasoner.java:1032)
For reproduction, here is the call from my program using OWL API:
OWLOntologyDocumentSource source = new FileDocumentSource(ontFile, new FunctionalSyntaxDocumentFormat());
OWLOntologyManager manager = OWLManager.createOWLOntologyManager();
ont = manager.loadOntologyFromOntologyDocument(source);
OWLReasoner openllet = OpenlletReasonerFactory.getInstance().createReasoner(ont);
openllet.isConsistent()
The text was updated successfully, but these errors were encountered:
I am using Openllet to decide the consistency of an ontology and found an example where an exception occurs. Here is a minimal example.
The text was updated successfully, but these errors were encountered: