[Archivesspace_Users_Group] AT to ASpace migration error

Suda, Phillip J psuda1 at tulane.edu
Wed Jul 29 12:06:02 EDT 2015


Greetings all,

         Just ran into an error when running an AT to ASpace migration. Any ideas? Please see below:

Unrecoverable exception, migration stopped ...

Current Record Type: Resource Record
Record Identifier : DB ID: 13
AT ID: 2007-135

org.hibernate.PropertyAccessException: could not set a field value by reflection setter of org.archiviststoolkit.model.DigitalObjects.digitalInstance
  at org.hibernate.property.DirectPropertyAccessor$DirectSetter.set(DirectPropertyAccessor.java:91)
  at org.hibernate.tuple.entity.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:337)
  at org.hibernate.tuple.entity.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:200)
  at org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:3566)
  at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:129)
  at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
  at org.hibernate.loader.Loader.doQuery(Loader.java:729)
  at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
  at org.hibernate.loader.Loader.loadCollection(Loader.java:1994)
  at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:36)
  at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:565)
  at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60)
  at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1716)
  at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344)
  at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)
  at org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:163)
  at org.archiviststoolkit.plugin.utils.aspace.ASpaceCopyUtil.addInstances(ASpaceCopyUtil.java:1521)
  at org.archiviststoolkit.plugin.utils.aspace.ASpaceCopyUtil.addInstances(ASpaceCopyUtil.java:1505)
  at org.archiviststoolkit.plugin.utils.aspace.ASpaceCopyUtil.copyResourceRecords(ASpaceCopyUtil.java:1219)
  at org.archiviststoolkit.plugin.dbCopyFrame$1.run(dbCopyFrame.java:376)
  at java.lang.Thread.run(Thread.java:695)
Caused by: java.lang.IllegalArgumentException: Can not set org.archiviststoolkit.model.ArchDescriptionDigitalInstances field org.archiviststoolkit.model.DigitalObjects.digitalInstance to org.archiviststoolkit.model.ArchDescriptionAnalogInstances
  at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146)
  at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150)
  at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63)
  at java.lang.reflect.Field.set(Field.java:657)
  at org.hibernate.property.DirectPropertyAccessor$DirectSetter.set(DirectPropertyAccessor.java:79)
  ... 20 more

Thanks,

Phil


Phillip Suda
Systems Librarian
Howard-Tilton Memorial Library
Tulane University
psuda1 at tulane.edu
504-865-5607

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150729/f6961191/attachment.html>


More information about the Archivesspace_Users_Group mailing list