Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-1473

Add migration support for RDF properties in RELS-INT datastreams.

    Details

    • Sprint:
      Sprint 2015 - 5

      Description

      An outcome of FCREPO-1448.

      When processing a RELS-INT with multiple version, the following error occurs:

      INFO 18:08:39.264 (Migrator) Processing "islandora:6"...
      DEBUG 18:08:39.459 (BasicObjectVersionHandler) Considering object islandora:6 version at 2013-10-16T14:08:29.614Z.
      DEBUG 18:08:40.825 (BasicObjectVersionHandler) Considering changed datastream version AUDIT.0
      DEBUG 18:08:42.866 (BasicObjectVersionHandler) Considering changed datastream version RELS-EXT.0
      DEBUG 18:08:42.921 (BasicObjectVersionHandler) Considering changed datastream version OBJ.0
      DEBUG 18:08:44.083 (BasicObjectVersionHandler) Considering changed datastream version DC1.0
      DEBUG 18:08:44.117 (BasicObjectVersionHandler) Adding http://purl.org/dc/elements/1.1/identifier value islandora:6
      DEBUG 18:08:44.117 (BasicObjectVersionHandler) Adding http://purl.org/dc/elements/1.1/title value TIFF image.tif
      DEBUG 18:08:44.518 (BasicObjectVersionHandler) Considering object islandora:6 version at 2013-10-16T14:08:57.378Z.
      DEBUG 18:08:44.518 (BasicObjectVersionHandler) Considering changed datastream version OCR.0
      DEBUG 18:08:45.191 (BasicObjectVersionHandler) Considering object islandora:6 version at 2013-10-16T14:08:57.564Z.
      DEBUG 18:08:45.191 (BasicObjectVersionHandler) Considering changed datastream version OCR.1
      DEBUG 18:08:45.632 (BasicObjectVersionHandler) Considering object islandora:6 version at 2013-10-16T14:08:57.772Z.
      DEBUG 18:08:45.636 (BasicObjectVersionHandler) Considering changed datastream version OCR.2
      DEBUG 18:08:45.947 (BasicObjectVersionHandler) Considering object islandora:6 version at 2013-10-16T14:08:57.983Z.
      DEBUG 18:08:45.947 (BasicObjectVersionHandler) Considering changed datastream version OCR.3
      DEBUG 18:08:46.196 (BasicObjectVersionHandler) Considering object islandora:6 version at 2013-10-16T14:09:27.115Z.
      DEBUG 18:08:46.196 (BasicObjectVersionHandler) Considering changed datastream version HOCR.0
      DEBUG 18:08:46.695 (BasicObjectVersionHandler) Considering object islandora:6 version at 2013-10-16T14:09:27.273Z.
      DEBUG 18:08:46.696 (BasicObjectVersionHandler) Considering changed datastream version HOCR.1
      DEBUG 18:08:47.055 (BasicObjectVersionHandler) Considering object islandora:6 version at 2013-10-16T14:09:27.372Z.
      DEBUG 18:08:47.055 (BasicObjectVersionHandler) Considering changed datastream version HOCR.2
      DEBUG 18:08:47.322 (BasicObjectVersionHandler) Considering object islandora:6 version at 2013-10-16T14:09:27.533Z.
      DEBUG 18:08:47.322 (BasicObjectVersionHandler) Considering changed datastream version HOCR.3
      DEBUG 18:08:47.580 (BasicObjectVersionHandler) Considering object islandora:6 version at 2013-10-16T14:09:32.074Z.
      DEBUG 18:08:47.580 (BasicObjectVersionHandler) Considering changed datastream version JP2.0
      DEBUG 18:08:47.978 (BasicObjectVersionHandler) Considering object islandora:6 version at 2013-10-16T14:09:32.375Z.
      DEBUG 18:08:47.979 (BasicObjectVersionHandler) Considering changed datastream version RELS-INT.0
      DEBUG 18:08:48.386 (BasicObjectVersionHandler) Considering object islandora:6 version at 2013-10-16T14:09:32.744Z.
      DEBUG 18:08:48.386 (BasicObjectVersionHandler) Considering changed datastream version RELS-INT.1
      ERROR 18:08:48.469 (FedoraDatastreamImpl) error retrieving resource http://localhost:8080/fcrepo/rest/migrated-fedora3/islandora/6/RELS-INT: 500 Internal Server Error
      [WARNING]
      java.lang.reflect.InvocationTargetException
      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.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.RuntimeException: org.fcrepo.client.FedoraException: error retrieving resource http://localhost:8080/fcrepo/rest/migrated-fedora3/islandora/6/RELS-INT: 500 Internal Server Error
      at org.fcrepo.migration.handlers.BasicObjectVersionHandler.processObjectVersions(BasicObjectVersionHandler.java:159)
      at org.fcrepo.migration.handlers.VersionAbstractionFedoraObjectHandler.processObject(VersionAbstractionFedoraObjectHandler.java:90)
      at org.fcrepo.migration.handlers.ObjectAbstractionStreamingFedoraObjectHandler.completeObject(ObjectAbstractionStreamingFedoraObjectHandler.java:62)
      at org.fcrepo.migration.foxml11.Foxml11InputStreamFedoraObjectProcessor.processObject(Foxml11InputStreamFedoraObjectProcessor.java:115)
      at org.fcrepo.migration.Migrator.run(Migrator.java:69)
      at org.fcrepo.migration.Migrator.main(Migrator.java:29)
      ... 6 more
      Caused by: org.fcrepo.client.FedoraException: error retrieving resource http://localhost:8080/fcrepo/rest/migrated-fedora3/islandora/6/RELS-INT: 500 Internal Server Error
      at org.fcrepo.client.impl.FedoraDatastreamImpl.updateContent(FedoraDatastreamImpl.java:187)
      at org.fcrepo.migration.handlers.BasicObjectVersionHandler.processObjectVersions(BasicObjectVersionHandler.java:148)
      ... 11 more

      Foxml file from objectStore directory is attached.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                daniel-dgi Daniel Lamb [X] (Inactive)
                Reporter:
                daniel-dgi Daniel Lamb [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: