[Archivesspace_Users_Group] Error during Archivist's Toolkit to ASpace migration

Suda, Phillip J psuda1 at tulane.edu
Fri Aug 28 10:09:39 EDT 2015


I just received the below migration. I was using the most recent version of the AT migration tool with an instance of ASpace 1.3.0. Any ideas?

Thanks,

Phil


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:1543)
                at org.archiviststoolkit.plugin.utils.aspace.ASpaceCopyUtil.addInstances(ASpaceCopyUtil.java:1527)
                at org.archiviststoolkit.plugin.utils.aspace.ASpaceCopyUtil.copyResourceRecords(ASpaceCopyUtil.java:1241)
                at org.archiviststoolkit.plugin.dbCopyFrame$1.run(dbCopyFrame.java:390)
                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

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/20150828/aca8ad78/attachment.html>


More information about the Archivesspace_Users_Group mailing list