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

Indexing with dspace index-discovery -b fails #471

Open
olli-gold opened this issue Oct 22, 2024 · 0 comments · May be fixed by #472
Open

Indexing with dspace index-discovery -b fails #471

olli-gold opened this issue Oct 22, 2024 · 0 comments · May be fixed by #472
Labels

Comments

@olli-gold
Copy link

Describe the bug
When executing bin/dspace index-discovery -b the command fails nearly immediately on our system with a NullPointerException. This occurs on DSpace-CRIS 2023.02.05.

The NullPointer is located in the attribute mappableMetadata here: https://github.com/4Science/DSpace/blob/main-cris/dspace-api/src/main/java/org/dspace/discovery/SolrServiceFileInfoPlugin.java#L189. The file has been modified in commit f0ed448, so the issue has probably been introduced in DSpace-CRIS 2023.02.03.

To Reproduce
Steps to reproduce the behavior:

  1. Start bin/dspace index-discovery -b via CLI

Expected behavior
The indexing should work without the exception.

Related work
I will create a PR fixing this and link it in the comments.

@olli-gold olli-gold added the bug label Oct 22, 2024
@olli-gold olli-gold linked a pull request Oct 22, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant