org.semanticweb.owlapi.reasoner.ReasonerInternalException

it.unibz.inf.ontop.model.OBDAException: java.lang.NullPointerException


Solutions on the web3

Solution icon of github
it.unibz.inf.ontop.model.OBDAException: java.lang.NullPointerException

Solution icon of github
via GitHub by arnikz
, 1 year ago
it.unibz.inf.ontop.model.OBDAException: java.sql.SQLException: No suitable driver found for jdbc:sqlite:/ontop-example/person.db

Solution icon of github
via GitHub by roholazandie
, 1 year ago
it.unibz.inf.ontop.model.OBDAException: it.unibz.inf.ontop.model.OBDAException: Ontology datatype http://www.w3.org/2001/XMLSchema#string for http://www.semanticweb.org/blah/ontologies/2016/4/TestOntologyVer1.0#SomeRel does not correspond to datatype http://www.w3.org/2000/01/rdf-schema#Literal in mappings

Stack trace

  • org.semanticweb.owlapi.reasoner.ReasonerInternalException: it.unibz.inf.ontop.model.OBDAException: java.lang.NullPointerException at it.unibz.inf.ontop.owlrefplatform.owlapi.QuestOWL.prepareReasoner(QuestOWL.java:465)[na:na] at it.unibz.inf.ontop.owlrefplatform.owlapi.QuestOWL.flush(QuestOWL.java:206)[na:na] at org.protege.editor.owl.model.inference.OWLReasonerManagerImpl$ClassificationRunner.ensureRunningReasonerInitialized(OWLReasonerManagerImpl.java:423)[na:na] at org.protege.editor.owl.model.inference.OWLReasonerManagerImpl$ClassificationRunner.run(OWLReasonerManagerImpl.java:382)[na:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_40] Caused by: it.unibz.inf.ontop.model.OBDAException: java.lang.NullPointerException at it.unibz.inf.ontop.owlrefplatform.core.Quest.setupRepository(Quest.java:661)[na:na] at it.unibz.inf.ontop.owlrefplatform.owlapi.QuestOWL.prepareQuestInstance(QuestOWL.java:271)[na:na] at it.unibz.inf.ontop.owlrefplatform.owlapi.QuestOWL.prepareReasoner(QuestOWL.java:452)[na:na] ... 4 more Caused by: java.lang.NullPointerException: null at it.unibz.inf.ontop.sql.UniqueConstraint$Builder.add(UniqueConstraint.java:65)[na:na] at it.unibz.inf.ontop.sql.DBMetadataExtractor.getUniqueAttributes(DBMetadataExtractor.java:601)[na:na] at it.unibz.inf.ontop.sql.DBMetadataExtractor.loadMetadata(DBMetadataExtractor.java:257)[na:na] at it.unibz.inf.ontop.owlrefplatform.core.Quest.setupRepository(Quest.java:556)[na:na] ... 6 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.