Hello All,
I’m getting a null pointer when i list declared properties for ontCLass
List<OntProperty> ontPropertyList = ontClass.listDeclaredProperties().toList();
The null pointer occurs in OntClassImp at
protected boolean testDomain( Property p, boolean direct )
{ // we ignore any property in the OWL, etc namespace String namespace
= p.getNameSpace(); for (int i = 0; i < IGNORE_NAMESPACES.length; i++)
{ if (namespace.equals( IGNORE_NAMESPACES[i] )) { return false; } }
when it hits any anon id.
It needs to check whether property is a a blank node
Thanks