namedgraph commented on issue #1450: URL: https://github.com/apache/jena/issues/1450#issuecomment-1188294089
@afs I'm trying to narrow this down. It looks like it's caused by my `OntModelReadOnly` implementation. This gives the NPE: ``` new org.apache.jena.rdfxml.xmloutput.impl.Basic().write(new OntModelReadOnly(ontModel)), System.out, null); ``` while this succeeds: ``` new org.apache.jena.rdfxml.xmloutput.impl.Basic().write(ontModel), System.out, null); ``` Could it be because my subclass is denying access to the `*NsPrefix` methods? https://github.com/AtomGraph/Processor/blob/master/src/main/java/com/atomgraph/processor/util/OntModelReadOnly.java#L1436 I'll try allowing them. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
