Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3276

Authority indexing fails with NPE

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Not Required

      Description

      In latest master, if you enable orcid and the authority consumer, and submit an item with an authority valued field, the authority consumer will fail with a NullPointerException at archival time, preventing proper solr indexing.

      The stack trace in the dspace log is:

      org.dspace.authority.indexer.AuthorityConsumer @ Error while consuming the authority consumerjava.lang.NullPointerException at org.dspace.authority.AuthorityValue.updateItem(AuthorityValue.java:190) at org.dspace.authority.indexer.DSpaceAuthorityIndexer.prepareNextValue(DSpaceAuthorityIndexer.java:200) at org.dspace.authority.indexer.DSpaceAuthorityIndexer.hasMore(DSpaceAuthorityIndexer.java:132) at org.dspace.authority.AuthorityServiceImpl.indexItem(AuthorityServiceImpl.java:52) at org.dspace.authority.indexer.AuthorityConsumer.end(AuthorityConsumer.java:91)

        Attachments

          Activity

            People

            • Assignee:
              helix84 Ivan Masár
              Reporter:
              cwilper Chris Wilper
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: