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 fails for Empty Date Field #5981

Closed
sekmiller opened this issue Jun 27, 2019 · 0 comments · Fixed by #5982
Closed

Indexing fails for Empty Date Field #5981

sekmiller opened this issue Jun 27, 2019 · 0 comments · Fixed by #5982

Comments

@sekmiller
Copy link
Contributor

We are seeing multiple failures in indexing datasets in prod (15K or more) One type of failure occurs due to a subscript out of range error for date fields.

Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at edu.harvard.iq.dataverse.search.IndexServiceBean.addOrUpdateDataset(IndexServiceBean.java:778)
at edu.harvard.iq.dataverse.search.IndexServiceBean.indexDataset(IndexServiceBean.java:593)
at edu.harvard.iq.dataverse.search.IndexServiceBean.indexDatasetInNewTransaction(IndexServiceBean.java:286)

sekmiller added a commit that referenced this issue Jun 27, 2019
kcondon added a commit that referenced this issue Jul 10, 2019
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

Successfully merging a pull request may close this issue.

1 participant