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

METSRightsCrosswalk NPE During AIP Restore - No Anonymous Read

    Details

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

      Description

      During an attempted import of a community AIP using the DSpace packager, the import process threw a NullPointerException within the METSRightsCrosswalk class's ingest method (see message below) and failed to import the proper read permissions, causing the collection to be restricted from anonymous users.

      java.lang.NullPointerException
      at org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:513)
      at org.dspace.content.crosswalk.METSRightsCrosswalk.ingest(METSRightsCrosswalk.java:467)
      at org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1193)
      at org.dspace.content.packager.METSManifest.crosswalkObjectOtherAdminMD(METSManifest.java:1114)
      at org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:464)
      at org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:240)
      at org.dspace.app.packager.Packager.ingest(Packager.java:571)
      at org.dspace.app.packager.Packager.main(Packager.java:431)
      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:227)
      at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:79)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mjmarttila Michael Marttila
              Reviewer:
              Tim Donohue
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: