Chauffeur: Importing content with grid components fails
Opened this issue · 0 comments
Hi Kevin
Currently using:
Chauffeur.Runner: 1.1.8-v11-142
uSync.Core: 6.8.9
uSync: 4.8.9
uSync.Chauffeur: 1.8.8
uSync.ContentEdition: 4.1.5
uSync.ContentMappers: 4.1.4
UmbracoCms: 7.11.1
When using Chauffeur to import content I am receiving the following error:
Loaded Handler uSync: ContentHandler
Importing....
Error running the current deliverable 'usync'
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Jumoo.uSync.Core.Mappers.GridMapper..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Jumoo.uSync.Core.Mappers.ContentMapperFactory.GetCustomMapper(String typeDefinition)
at Jumoo.uSync.Core.Mappers.ContentMapperFactory.GetMapper(uSyncContentMapping mapping)
at Jumoo.uSync.Core.Mappers.ContentMapperFactory.GetMapper(String alias)
at Jumoo.uSync.Core.Serializers.ContentBaseSerializer1.DeserializeMappedIds(T baseItem, XElement node) at Jumoo.uSync.Core.Serializers.ContentSerializer.DesearlizeSecondPass(IContent item, XElement node) at Jumoo.uSync.Content.ContentHandler.ImportSecondPass(String file, IContent item) at Jumoo.uSync.Content.BaseContentHandler
1.ImportAll(String folder, Boolean force)
at Jumoo.uSync.Chauffeur.uSyncDeliverable.d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Jumoo.uSync.Chauffeur.uSyncDeliverable.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Chauffeur.Host.UmbracoHost.d__14.MoveNext()
uSync for Chauffeur
I hope you can shed some light on this.
Thanks
Antony