java.lang.UnsupportedOperationException: Could not find a parent DSpaceObject referenced as '123456789/3' in the METS Manifest for object hdl:123456789/4. A parent DSpaceObject must be specified from either the 'packager' command or noted in the METS Manifest itself.

Sakai JIRA | Ivan Masár | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [DS-2404] AIP submission fails for a site containing a subcommunity - DuraSpace JIRA

    duraspace.org | 1 year ago
    java.lang.UnsupportedOperationException: Could not find a parent DSpaceObject referenced as '123456789/3' in the METS Manifest for object hdl:123456789/4. A parent DSpaceObject must be specified from either the 'packager' command or noted in the METS Manifest itself.
  2. 0

    Tested on a trivial repository: Top-level community 123456789/3 * Subcommunity 123456789/4 ** Collection 123456789/5 *** Item 123456789/6 Export (completes successfully): $ /dspace/bin/dspace packager -d -a -t AIP -e dspace@example.com -i 123456789/0 dspace-5-site-aip-subcomm-test.zip Import into empty repository: $ /dspace/bin/dspace packager -s -a -t AIP -e dspace@example.com -i 123456789/0 dspace-5-site-aip-subcomm-test.zip Ingesting package located at dspace-5-site-aip-subcomm-test.zip Also ingesting all referenced packages (recursive mode).. This may take a while, please check your logs for ongoing status while we process each package. java.lang.UnsupportedOperationException: Could not find a parent DSpaceObject referenced as '123456789/3' in the METS Manifest for object hdl:123456789/4. A parent DSpaceObject must be specified from either the 'packager' command or noted in the METS Manifest itself. at org.dspace.content.packager.AbstractMETSIngester.getParentObject(AbstractMETSIngester.java:1385) at org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:393) at org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:234) at org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:143) at org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:193) at org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:193) at org.dspace.app.packager.Packager.ingest(Packager.java:515) at org.dspace.app.packager.Packager.main(Packager.java:427) 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:225) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) java.lang.UnsupportedOperationException: Could not find a parent DSpaceObject referenced as '123456789/3' in the METS Manifest for object hdl:123456789/4. A parent DSpaceObject must be specified from either the 'packager' command or noted in the METS Manifest itself.

    Sakai JIRA | 2 years ago | Ivan Masár
    java.lang.UnsupportedOperationException: Could not find a parent DSpaceObject referenced as '123456789/3' in the METS Manifest for object hdl:123456789/4. A parent DSpaceObject must be specified from either the 'packager' command or noted in the METS Manifest itself.
  3. 0

    Tested on a trivial repository: Top-level community 123456789/3 * Subcommunity 123456789/4 ** Collection 123456789/5 *** Item 123456789/6 Export (completes successfully): $ /dspace/bin/dspace packager -d -a -t AIP -e dspace@example.com -i 123456789/0 dspace-5-site-aip-subcomm-test.zip Import into empty repository: $ /dspace/bin/dspace packager -s -a -t AIP -e dspace@example.com -i 123456789/0 dspace-5-site-aip-subcomm-test.zip Ingesting package located at dspace-5-site-aip-subcomm-test.zip Also ingesting all referenced packages (recursive mode).. This may take a while, please check your logs for ongoing status while we process each package. java.lang.UnsupportedOperationException: Could not find a parent DSpaceObject referenced as '123456789/3' in the METS Manifest for object hdl:123456789/4. A parent DSpaceObject must be specified from either the 'packager' command or noted in the METS Manifest itself. at org.dspace.content.packager.AbstractMETSIngester.getParentObject(AbstractMETSIngester.java:1385) at org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:393) at org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:234) at org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:143) at org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:193) at org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:193) at org.dspace.app.packager.Packager.ingest(Packager.java:515) at org.dspace.app.packager.Packager.main(Packager.java:427) 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:225) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) java.lang.UnsupportedOperationException: Could not find a parent DSpaceObject referenced as '123456789/3' in the METS Manifest for object hdl:123456789/4. A parent DSpaceObject must be specified from either the 'packager' command or noted in the METS Manifest itself.

    Sakai JIRA | 2 years ago | Ivan Masár
    java.lang.UnsupportedOperationException: Could not find a parent DSpaceObject referenced as '123456789/3' in the METS Manifest for object hdl:123456789/4. A parent DSpaceObject must be specified from either the 'packager' command or noted in the METS Manifest itself.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Could not find a parent DSpaceObject referenced as '123456789/3' in the METS Manifest for object hdl:123456789/4. A parent DSpaceObject must be specified from either the 'packager' command or noted in the METS Manifest itself.

      at org.dspace.content.packager.AbstractMETSIngester.getParentObject()
    2. DSpace Kernel :: API and Implementation
      Packager.main
      1. org.dspace.content.packager.AbstractMETSIngester.getParentObject(AbstractMETSIngester.java:1385)
      2. org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:393)
      3. org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:234)
      4. org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:143)
      5. org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:193)
      6. org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:193)
      7. org.dspace.app.packager.Packager.ingest(Packager.java:515)
      8. org.dspace.app.packager.Packager.main(Packager.java:427)
      8 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. DSpace Kernel :: API and Implementation
      ScriptLauncher.main
      1. org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
      2. org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
      2 frames