Closed kkanthet closed 8 years ago
jena project should really work with either version of the server code to avoid backward incompat.
I know why this bug happens. I think I need to special case empty sequence for n-triples. Either that or serialization from xdmp output method has to change. In either event, I'll make a new bug to cover this.
Upon review of the specification for n-triples, RDF 1.1 was updated to not require the '.' for an empty set of triples. I'll look at other workarounds.
In order to provide compatibility with jena 2 I think we'll just have to implement the '.' for empty n-triples serializations. It's not hard to do, and can be removed in the future.
Now I'm going to propose a fix we can implement in marklogic-jena now, because the server is not really broken.
Verified the issue is fixed and nor longer get nullpointer
Regression in Jena SPARQLUpdate tests, seeing nullpointer in MarklogicQueryEngine.eval following tests failing com.marklogic.jena.functionaltests.JenaSPARQLUpdateTests.testPagination() com.marklogic.jena.functionaltests.JenaSPARQLUpdateTests.test001ConstructQuery_withbinding()
com.marklogic.semantics.jena.engine.MarkLogicQueryEngineTest > testDescribe FAILED java.lang.NullPointerException at MarkLogicQueryEngineTest.java:96
Note:: started happening since 03/02 nightly due to :: https://bugtrack.marklogic.com/bug/35433 Similar issue in sesame