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

checker -p throws a java exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 6.0
    • Fix Version/s: 6.1, 7.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Dspace Command Line,

      Default Checker parameters in dspace.cfg
      checker.retention.default=10y
      checker.retention.CHECKSUM_MATCH=8w
    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Not Required

      Description

      This is the result of the command

      dspace@ubuntu16:~/dspace_i/bin$ ./dspace checker -p
      Exception: No enum constant org.dspace.checker.ChecksumResultCode.default
      java.lang.IllegalArgumentException: No enum constant org.dspace.checker.ChecksumResultCode.default
      at java.lang.Enum.valueOf(Enum.java:236)
      at org.dspace.checker.ChecksumResultCode.valueOf(ChecksumResultCode.java:21)
      at org.dspace.checker.ResultsPruner.getPruner(ResultsPruner.java:148)
      at org.dspace.checker.ResultsPruner.getDefaultPruner(ResultsPruner.java:59)
      at org.dspace.app.checker.ChecksumChecker.main(ChecksumChecker.java:135)
      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:229)
      at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              elorenzo2 Emilio Lorenzo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: