We just upgraded from 3.5 to 5.1.2 and suddenly one entity is throwing an exception on save of
Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
Anybody seen this before?
Here's my stacktrace:
[ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.]
System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) +0
SD.LLBLGen.Pro.ORMSupportClasses.EntityFieldPersistenceInfoList..ctor(IEntityFieldCore[] fields, IFieldPersistenceInfo[] fieldsPersistenceInfo) +481
SD.LLBLGen.Pro.ORMSupportClasses.DynamicQueryEngineBase.CreateUpdateDQ(IEntityFieldCore[] fields, IFieldPersistenceInfo[] fieldsPersistenceInfo, DbConnection connectionToUse, List1 pkFilters, IPredicate additionalUpdateFilter, IRelationCollection relationsToWalk) +216
SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterCore.CreateUpdateDQ(IEntity2 entityWithNewValues, IFieldPersistenceInfo[] persistenceInfoObjects, List
1 pkFilters, IPredicateExpression additionalFilter, IRelationCollection relationsToWalk) +93
SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterCore.CreateQueryForUpdateEntitiesDirectly(IEntity2 entityWithNewValues, IRelationPredicateBucket filterBucket) +252
SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterCore.UpdateEntitiesDirectly(IEntity2 entityWithNewValues, IRelationPredicateBucket filterBucket) +463
SD.LLBLGen.Pro.ORMSupportClasses.<>c__DisplayClass21_0.<UpdateEntitiesDirectly>b__0() +20
SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.ExecuteWithActiveRecoveryStrategy(Func`1 toExecute) +28
SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.UpdateEntitiesDirectly(IEntity2 entityWithNewValues, IRelationPredicateBucket filterBucket) +86