From 973e6c90462f1c2b4b0d07478b8a2c35b55ed596 Mon Sep 17 00:00:00 2001 From: Ivan Bella Date: Tue, 19 Dec 2023 21:12:32 +0000 Subject: [PATCH] Fixeed NPE --- .../java/datawave/webservice/query/util/LookupUUIDUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-services/query/src/main/java/datawave/webservice/query/util/LookupUUIDUtil.java b/web-services/query/src/main/java/datawave/webservice/query/util/LookupUUIDUtil.java index 21630bc4cb2..41b5dd7aef5 100644 --- a/web-services/query/src/main/java/datawave/webservice/query/util/LookupUUIDUtil.java +++ b/web-services/query/src/main/java/datawave/webservice/query/util/LookupUUIDUtil.java @@ -446,7 +446,7 @@ private Query createSettings(MultivaluedMap queryParameters) { log.debug("Final query parameters: " + parms); query.setOptionalQueryParameters(parms); for (String key : parms.keySet()) { - if (queryParameters.get(key).size() == 1) { + if (parms.get(key).size() == 1) { query.addParameter(key, parms.getFirst(key)); } }