diff --git a/orcid-core/src/main/java/org/orcid/core/manager/v3/read_only/impl/PeerReviewManagerReadOnlyImpl.java b/orcid-core/src/main/java/org/orcid/core/manager/v3/read_only/impl/PeerReviewManagerReadOnlyImpl.java index 2649d563c9f..d2d5226d81c 100644 --- a/orcid-core/src/main/java/org/orcid/core/manager/v3/read_only/impl/PeerReviewManagerReadOnlyImpl.java +++ b/orcid-core/src/main/java/org/orcid/core/manager/v3/read_only/impl/PeerReviewManagerReadOnlyImpl.java @@ -91,9 +91,9 @@ public List getPeerReviewMinimizedSummaryList(String BigInteger putCode = (BigInteger) q1[2]; String visibility = q1[3].toString(); String groupName = q1[4].toString(); - String sourceId = q1[5].toString(); - String clientSourceId = q1[6].toString(); - String assertionOriginSourceId = q1[7].toString(); + String sourceId = (q1[5] == null) ? null : q1[5].toString(); + String clientSourceId = (q1[6] == null) ? null : q1[6].toString(); + String assertionOriginSourceId = (q1[7] == null) ? null : q1[7].toString(); if (peerReviewMinimizedSummaryList.size() > 0) { List peerReviews = peerReviewMinimizedSummaryList .stream()