Skip to content

Changes

Summary

  1. Bug 393073 [WIP] - NPE in the hasNext method (details)
Commit 23cf0b1119ccd9f6e5ff30456fc1c946af963825 by Andrii Berezovskyi
Bug 393073 [WIP] - NPE in the hasNext method

Current status is that the empty nextPage property:

<oslc:nextPage rdf:resource="" />

Causes Jena to deserialise a full triple statement with a non-empty
Object:

subject = "http://example.com/provider/query?oslc.where=ex%3Aproduct%3D%22Product%20A%2"
predicate = "http://open-services.net/ns/core#nextPage"
object = "http://example.com/provider/query"

Change-Id: I8c1088ebc7101165834fe0a0a4a870e600020812
Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
The file was modified org.eclipse.lyo.client.java/src/main/java/org/eclipse/lyo/client/oslc/resources/OslcQueryResult.java
The file was addedorg.eclipse.lyo.client.java/src/test/resources/queryResponseWithNext.xml
The file was modified org.eclipse.lyo.client.java/src/test/java/org/eclipse/lyo/client/test/OslcQueryResultTest.java
The file was addedorg.eclipse.lyo.client.java/src/test/resources/queryResponseWithEmptyNext.xml