Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restarting biocache-service is (possibly) not restarting downloads interrupted #901

Open
adam-collins opened this issue Jun 13, 2024 · 0 comments

Comments

@adam-collins
Copy link
Contributor

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

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant