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

ORCID index-authority throws a NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      0
    • Documentation Status:
      Not Required

      Description

      Already reported in the original ORCID ticket, but no response so far, so I'm filing a proper ticket.

      $ /dspace/bin/dspace index-authority -h
      log4j:ERROR Unable to delete log file
      Cleaning the old index
      Exception: java.lang.NullPointerException
      java.lang.Exception: java.lang.NullPointerException
      at org.dspace.authority.AuthoritySolrServiceImpl.cleanIndex(AuthoritySolrServiceImpl.java:75)
      at org.dspace.authority.indexer.AuthorityIndexClient.main(AuthorityIndexClient.java:44)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
      at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
      Caused by: java.lang.NullPointerException
      at org.apache.solr.client.solrj.impl.HttpSolrServer.<init>(HttpSolrServer.java:150)
      at org.apache.solr.client.solrj.impl.HttpSolrServer.<init>(HttpSolrServer.java:141)
      at org.dspace.authority.AuthoritySolrServiceImpl.getSolr(AuthoritySolrServiceImpl.java:49)
      at org.dspace.authority.AuthoritySolrServiceImpl.cleanIndex(AuthoritySolrServiceImpl.java:72)
      ... 7 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kevin van de velde Kevin Van de Velde (Atmire)
                Reporter:
                helix84 Ivan Masár
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: