When biocache-service downloads are interrupted by a shutdown, a user's details, e.g. email and roles, are not properly saved and recalled.
The error is
java.lang.NullPointerException
at java.base/java.util.Objects.requireNonNull(Objects.java:222)
at java.base/java.util.ArrayList.batchRemove(ArrayList.java:848)
at java.base/java.util.ArrayList.retainAll(ArrayList.java:843)
at au.org.ala.biocache.service.DownloadService.getSensitiveFq(DownloadService.java:1065)
at au.org.ala.biocache.dao.SearchDAOImpl.writeResultsFromIndexToStream(SearchDAOImpl.java:603)
...
at au.org.ala.biocache.service.DownloadService.writeQueryToStream(DownloadService.java:435)
at au.org.ala.biocache.service.DownloadService$DownloadRunnable.run(DownloadService.java:1195)
This is speculation on errors in the log.
When biocache-service downloads are interrupted by a shutdown, a user's details, e.g. email and roles, are not properly saved and recalled.
The error is