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

Migrating pre DSpace 3 embargos on Oracle: Nullpointer without stacktrace

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Volunteer Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.2
    • Fix Version/s: None
    • Component/s: DSpace API
    • Labels:
    • Environment:
      Oracle
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      When executing the Embargo migration routine on a DSpace 4.2 with Oracle, the routine crashed with a NullPointerException without a stacktrace.

      https://wiki.duraspace.org/display/DSDOC5x/Embargo#Embargo-Pre-3.0EmbargoMigrationRoutine

      We got around the particular situation to call "processOneItem" on each of the items individually
      https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/embargo/EmbargoManager.java#L337

      But right now we weren't able to identify what causes the NullPointer or where it emerges.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bram Bram Luyten (Atmire)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: