java.lang.reflect.InvocationTargetException

Sakai JIRA | Daniel Lamb [X] | 2 years ago
  1. 0

    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.

    Sakai JIRA | 2 years ago | Daniel Lamb [X]
    java.lang.reflect.InvocationTargetException
  2. 0

    GitHub comment 15#102711570

    GitHub | 2 years ago | glenrobson
    java.lang.reflect.InvocationTargetException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    resource is locked

    GitHub | 2 years ago | glenrobson
    java.lang.reflect.InvocationTargetException
  5. 0

    resource is locked

    GitHub | 2 years ago | glenrobson
    java.lang.reflect.InvocationTargetException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. org.fcrepo.client
      FedoraDatastreamImpl.updateContent
      1. org.fcrepo.client.impl.FedoraDatastreamImpl.updateContent(FedoraDatastreamImpl.java:187)
      1 frame
    3. org.fcrepo.migration
      Migrator.main
      1. org.fcrepo.migration.handlers.BasicObjectVersionHandler.processObjectVersions(BasicObjectVersionHandler.java:148)
      2. org.fcrepo.migration.handlers.VersionAbstractionFedoraObjectHandler.processObject(VersionAbstractionFedoraObjectHandler.java:90)
      3. org.fcrepo.migration.handlers.ObjectAbstractionStreamingFedoraObjectHandler.completeObject(ObjectAbstractionStreamingFedoraObjectHandler.java:62)
      4. org.fcrepo.migration.foxml11.Foxml11InputStreamFedoraObjectProcessor.processObject(Foxml11InputStreamFedoraObjectProcessor.java:115)
      5. org.fcrepo.migration.Migrator.run(Migrator.java:69)
      6. org.fcrepo.migration.Migrator.main(Migrator.java:29)
      6 frames
    4. 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
    5. org.codehaus.mojo
      ExecJavaMojo$1.run
      1. org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame