Open matentzn opened 5 years ago
I cant see anything wrong with the code.. The only place I can think of being a problem is:
String val = v instanceof IRI ? ((IRI)v).toString() : ((OWLLiteral)v).getLiteral();
That line will fail when the annotation target is a blank node (also suggested by the error).
Yes, the weird thing is though that this line is in a different method than the above error suggests.. I think this might be a problem with obographs version in owlapi/robot..
This is unfortunately impossible to debug other than with binary search (deleting portions of the ontology until it works..)