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

checksum checker cronjob throws "no enum constant" error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.1, 7.0
    • Component/s: API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Needed

      Description

      Since our upgrade to DSpace 6.0, I have noticed that our checker cron job throws an error:

      dspace/bin/dspace checker -l -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:238)
      	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:137)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
      	at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
      

      I can duplicate this error on demo.dspace.org, so this does not seem to be installation-dependent.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hardyoyo Hardy Pottinger
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: