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

dspace index-authority command causes NPE

    Details

    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Not Required

      Description

      $ /dspace/bin/dspace index-authority
      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:136)
      at org.apache.solr.client.solrj.impl.HttpSolrServer.<init>(HttpSolrServer.java:127)
      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
                Reviewer:
                Ivan Masár
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: