java.lang.NullPointerException: classExpression cannot be null

GitHub | cbobed | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 12#254054308

    GitHub | 4 months ago | cbobed
    java.lang.NullPointerException: classExpression cannot be null

    Root Cause Analysis

    1. java.lang.NullPointerException

      classExpression cannot be null

      at org.semanticweb.owlapi.util.OWLAPIPreconditions.checkNotNull()
    2. org.semanticweb.owlapi
      OWLAPIPreconditions.checkNotNull
      1. org.semanticweb.owlapi.util.OWLAPIPreconditions.checkNotNull(OWLAPIPreconditions.java:98)
      1 frame
    3. uk.ac.manchester
      OWLDataFactoryImpl.getOWLClassAssertionAxiom
      1. uk.ac.manchester.cs.owl.owlapi.OWLDataFactoryImpl.getOWLClassAssertionAxiom(OWLDataFactoryImpl.java:1305)
      2. uk.ac.manchester.cs.owl.owlapi.OWLDataFactoryImpl.getOWLClassAssertionAxiom(OWLDataFactoryImpl.java:1296)
      2 frames
    4. org.semanticweb.owlapi
      InferredEntityAxiomGenerator.createAxioms
      1. org.semanticweb.owlapi.util.InferredClassAssertionAxiomGenerator.addAxioms(InferredClassAssertionAxiomGenerator.java:41)
      2. org.semanticweb.owlapi.util.InferredClassAssertionAxiomGenerator.addAxioms(InferredClassAssertionAxiomGenerator.java:32)
      3. org.semanticweb.owlapi.util.InferredEntityAxiomGenerator.createAxioms(InferredEntityAxiomGenerator.java:51)
      3 frames
    5. Unknown
      OWLReasonerPersistenceTest.main
      1. OWLReasonerPersistenceTest.retrieveAllInferredAxioms(OWLReasonerPersistenceTest.java:395)
      2. OWLReasonerPersistenceTest.main(OWLReasonerPersistenceTest.java:388)
      2 frames