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

"dspace classpath" CLI command does nothing, throws error

    XMLWordPrintable

    Details

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

      Description

      The "[dspace]/bin/dspace classpath" CLI command was added in DSpace 1.7 and subsequently broken in 1.8 as the commits below show. Since then it does nothing but throw an error:
      $ /dspace/bin/dspace classpath
      Exception in thread "main" java.lang.NullPointerException
      at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:136)
      at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)

      [1] https://github.com/DSpace/DSpace/commit/4c1bb2f6f0f55392f2795dba09c0072b04115293
      [2] https://github.com/DSpace/DSpace/commit/ffbbe3e9f4f6cb814e6c84b8a300ca4518137ba2

      The removed code should be re-added to restore this functionality.

        Attachments

          Activity

            People

            • Assignee:
              mwood Mark H. Wood
              Reporter:
              helix84 Ivan Masár
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: