Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by cbobed
, 1 year ago
classExpression cannot be null
java.lang.NullPointerException: classExpression cannot be null	at org.semanticweb.owlapi.util.OWLAPIPreconditions.checkNotNull(OWLAPIPreconditions.java:98)	at uk.ac.manchester.cs.owl.owlapi.OWLDataFactoryImpl.getOWLClassAssertionAxiom(OWLDataFactoryImpl.java:1305)	at uk.ac.manchester.cs.owl.owlapi.OWLDataFactoryImpl.getOWLClassAssertionAxiom(OWLDataFactoryImpl.java:1296)	at org.semanticweb.owlapi.util.InferredClassAssertionAxiomGenerator.addAxioms(InferredClassAssertionAxiomGenerator.java:41)	at org.semanticweb.owlapi.util.InferredClassAssertionAxiomGenerator.addAxioms(InferredClassAssertionAxiomGenerator.java:32)	at org.semanticweb.owlapi.util.InferredEntityAxiomGenerator.createAxioms(InferredEntityAxiomGenerator.java:51)	at OWLReasonerPersistenceTest.retrieveAllInferredAxioms(OWLReasonerPersistenceTest.java:395)	at OWLReasonerPersistenceTest.main(OWLReasonerPersistenceTest.java:388)