This commit is contained in:
Tadgh 2021-02-25 09:27:28 -05:00
parent 8e060a05e0
commit f6a913effe
1 changed files with 7 additions and 1 deletions

View File

@ -158,7 +158,13 @@ public class BulkDataExportSvcImpl implements IBulkDataExportSvc {
}
private String getGroupIdIfPresent(String theRequestString) {
Map<String, String[]> stringMap = UrlUtil.parseQueryString(theRequestString);
return String.join(",", stringMap.get(JpaConstants.PARAM_EXPORT_GROUP_ID));
if (stringMap != null) {
String[] strings = stringMap.get(JpaConstants.PARAM_EXPORT_GROUP_ID);
if (strings != null) {
return String.join(",", strings);
}
}
return null;
}