No Jira issue. When a person has no webpages, the group_concat in the query resulted in a non-empty result set: one that had no values but was nonetheless not empty. Added a check to see if the node was null.
This commit is contained in:
parent
583aa3791a
commit
e77ecc9ebb
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ public class ManageWebpagesForIndividualGenerator extends BaseEditConfigurationG
|
|||
while (results.hasNext()) {
|
||||
QuerySolution soln = results.nextSolution();
|
||||
RDFNode node = soln.get("link");
|
||||
if (node.isURIResource()) {
|
||||
if (node != null && node.isURIResource()) {
|
||||
webpages.add(QueryUtils.querySolutionToStringValueMap(soln));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue