Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • OleP 48 posts 221 karma points
    Feb 23, 2018 @ 13:36
    OleP
    0

    Pushing related links content on a LeBlender grid component returns error

    First of all, I'm not sure whether this is related to LeBlender or Umbraco Cloud deploy engine, so bear with me on the placement of the thread.

    STR:

    1. Create a LeBlender component with a RelatedLinks property editor, and commit so cloud repository
    2. Add the component to the grid, and enter a link
    3. Que the content node for transfer, and hit "Send changes to the Live workspace"
    4. Notice the following error:

    (Could only get it in english, sorry)

    2641dfd8 - Executing, 10%
    2641dfd8 - Executing, 10% - Get remote session
    2641dfd8 - Executing, 20% - Create manifest on source
    2641dfd8 - Executing, 25% - Review manifest on target
    2641dfd8 - Executing, 28% - Negotiate files transfer.
    2641dfd8 - Executing, 30% - Create package on source
    2641dfd8 - Executing, 80% - Exception!
    2641dfd8 - Executing, 80% - Abort remote session
    2641dfd8 - Failed, 80% - Total time 00:00:01.785.
    
    -- EXCEPTION ---------------------------------------------------
     (proper exception traces at the end of this log)
    System.InvalidCastException: Et objekt af typen 'Newtonsoft.Json.Linq.JObject' kan ikke konverteres til typen 'Newtonsoft.Json.Linq.JArray'.
    ----------------------------------------------------------------
    
    EXCEPTION:
    
    System.InvalidCastException: Et objekt af typen 'Newtonsoft.Json.Linq.JObject' kan ikke konverteres til typen 'Newtonsoft.Json.Linq.JArray'.
       ved Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
       ved Umbraco.Deploy.Contrib.Connectors.ValueConnectors.RelatedLinks2ValueConnector.GetValue(Property property, ICollection`1 dependencies)
       ved Umbraco.Deploy.Contrib.Connectors.GridCellValueConnectors.LeBlenderGridCellValueConnector.GetValue(GridControl control, Property property, ICollection`1 dependencies)
       ved Umbraco.Deploy.ValueConnectors.GridValueConnector.GetValue(Property property, ICollection`1 dependencies)
       ved Umbraco.Deploy.ServiceConnectors.ContentConnectorBase`2.<>c__DisplayClass7_0.<MapProperties>b__1(Property x)
       ved System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       ved Umbraco.Deploy.ServiceConnectors.ContentConnectorBase`2.MapProperties(PropertyCollection properties, ICollection`1 dependencies)
       ved Umbraco.Deploy.ServiceConnectors.DocumentConnector.MapVersion(IContent content, ICollection`1 dependencies)
       ved Umbraco.Deploy.ServiceConnectors.DocumentConnector.GetArtifact(GuidUdi udi, IContent content)
       ved Umbraco.Deploy.ServiceConnectors.DocumentConnector.GetArtifact(GuidUdi udi)
       ved Umbraco.Deploy.ServiceConnectors.ServiceConnectorBase`3.Umbraco.Core.Deploy.IServiceConnector.GetArtifact(Udi udi)
       ved Umbraco.Deploy.Environments.LocalUmbracoEnvironment.<GetArtifacts>b__20_0(Udi x)
       ved System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       ved System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
       ved Umbraco.Deploy.Environments.LocalUmbracoEnvironment.CreatePackage(Guid sessionId, Manifest manifest)
       ved Umbraco.Deploy.Environments.LocalUmbracoEnvironment.CreatePackageAsync(Guid sessionId, Manifest manifest, CancellationToken token)
       ved Umbraco.Deploy.WorkItems.DeployRestoreWorkItemBase.<CreatePackageOnSource>d__16.MoveNext()
    --- Afslutningen på staksporingen fra den tidligere placering, hvor undtagelsen blev udløst ---
       ved System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       ved System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       ved System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
       ved Umbraco.Deploy.WorkItems.SourceDeployWorkItem.<ProceedToPackage>d__17.MoveNext()
    --- Afslutningen på staksporingen fra den tidligere placering, hvor undtagelsen blev udløst ---
       ved System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       ved System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       ved Umbraco.Deploy.WorkItems.SourceDeployWorkItem.<ExecuteAsyncSub>d__16.MoveNext()
    --- Afslutningen på staksporingen fra den tidligere placering, hvor undtagelsen blev udløst ---
       ved Umbraco.Deploy.WorkItems.SourceDeployWorkItem.<ExecuteAsyncSub>d__16.MoveNext()
    --- Afslutningen på staksporingen fra den tidligere placering, hvor undtagelsen blev udløst ---
       ved System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       ved System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       ved Umbraco.Deploy.WorkItems.SourceDeployWorkItem.<ExecuteAsync>d__15.MoveNext()
    

    Everything works fine on the front end, so the error is related to pushing the content between environments. Anyone else who stumbled upon this, or has any suggestions on how to fix it? I need to be able to make a list of links on a LeBlender component, and I'd like to avoid 3rd party packages if possible.

    Thanks!

  • Elin 45 posts 166 karma points
    Mar 01, 2018 @ 15:59
    Elin
    0

    I'm having the same problem where an exception error is being thrown at me, and I'm not sure how to fix this.

    enter image description here

    591e2265 - Executing, 10%
    591e2265 - Executing, 10% - Get remote session
    591e2265 - Executing, 20% - Create manifest on source
    ❤
    ❤
    ❤
    ❤
    ❤
    591e2265 - Executing, 25% - Review manifest on target
    ❤
    ❤
    ❤
    591e2265 - Executing, 28% - Negotiate files transfer.
    591e2265 - Executing, 30% - Create package on source
    ❤
    ❤
    591e2265 - Executing, 30% - Complete local session
    591e2265 - Executing, 35% - Process package on target
    ❤
    ❤
    ❤
    ❤
    ❤
    591e2265 - Executing, 80% - Exception!
    591e2265 - Executing, 80% - Abort remote session
    591e2265 - Failed, 80% - Total time 00:01:02.262.
    
    -- EXCEPTION ---------------------------------------------------
     (proper exception traces at the end of this log)
    System.NullReferenceException: Object reference not set to an instance of an object.
    Umbraco.Deploy.Exceptions.ProcessArtifactException: Process pass #4 failed for artifact umb://document/3142ddb0dd5749598431f6517a7b8402.
     On: <umb://document/3142ddb0dd5749598431f6517a7b8402>
    Umbraco.Deploy.Exceptions.RemoteApiException: The remote API has thrown an exception.
    -- UDIS --------------------------------------------------------
    <umb://document/3142ddb0dd5749598431f6517a7b8402>
    ----------------------------------------------------------------
    
    EXCEPTION:
    
    Umbraco.Deploy.Exceptions.RemoteApiException: The remote API has thrown an exception.
       at Umbraco.Deploy.Environments.RemoteUmbracoEnvironment.<SucceedOrThrow>d__14.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 Umbraco.Deploy.Environments.RemoteUmbracoEnvironment.<WaitAction>d__15.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 Umbraco.Deploy.Environments.RemoteUmbracoEnvironment.<ProcessPackageAsync>d__40.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 Umbraco.Deploy.WorkItems.DeployRestoreWorkItemBase.<ProcessPackage>d__17.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 Umbraco.Deploy.WorkItems.SourceDeployWorkItem.<ExecuteAsync>d__15.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at Umbraco.Deploy.WorkItems.SourceDeployWorkItem.<ExecuteAsync>d__15.MoveNext()
    
    REMOTE:
    Umbraco.Deploy.Exceptions.ProcessArtifactException: Process pass #4 failed for artifact umb://document/3142ddb0dd5749598431f6517a7b8402.
    
       at Umbraco.Deploy.Environments.LocalUmbracoEnvironment.ProcessArtifacts(IEnumerable`1 arts, IDeployContext context, CancellationToken token)
       at Umbraco.Deploy.Environments.LocalUmbracoEnvironment.ProcessPackageAsync(Guid sessionId, Package package, CancellationToken token)
       at Umbraco.Deploy.Environments.EnvironmentController.<>c__DisplayClass16_0.<<BeginProcessPackage>b__0>d.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 Umbraco.Deploy.WorkItems.SessionWorkItem.<ExecuteAsync>d__24.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at Umbraco.Deploy.WorkItems.SessionWorkItem.WaitIdle()
       at Umbraco.Deploy.Environments.EnvironmentController.WaitIdle(SessionActionModel model)
       at lambda_method(Closure , Object , Object[] )
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
    --- 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.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.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.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.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.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.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.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.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.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.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.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()
    --> System.NullReferenceException: Object reference not set to an instance of an object.
    
       at Umbraco.Deploy.ValueConnectors.GridValueConnector.SetValue(IContentBase content, String alias, String value)
       at Umbraco.Deploy.ServiceConnectors.ContentConnectorBase`2.MapProperties(TContent content, IEnumerable`1 propertyTypes, IDictionary`2 artProperties)
       at Umbraco.Deploy.ServiceConnectors.DocumentConnector.Process4(DeployState state, IDeployContext context, Int32 pass)
       at Umbraco.Deploy.ServiceConnectors.DocumentConnector.Process(ArtifactDeployState`2 state, IDeployContext context, Int32 pass)
       at Umbraco.Deploy.ServiceConnectors.ServiceConnectorBase`3.Process(ArtifactDeployState dart, IDeployContext context, Int32 pass)
       at Umbraco.Deploy.Environments.LocalUmbracoEnvironment.ProcessArtifacts(IEnumerable`1 arts, IDeployContext context, CancellationToken token)
    
  • Thomas Hansen 119 posts 334 karma points
    Apr 24, 2019 @ 11:30
    Thomas Hansen
    0

    Did you fix this ? have same issue..

  • OleP 48 posts 221 karma points
    May 02, 2019 @ 13:38
    OleP
    100

    I eventually moved away from using LeBlender. And since RelatedLinks is now obsolete, a solutions probably is nowhere near.

    My suggestion is to use the MultiUrlPicker, that was recently merged into the core.

    If you can't/won't upgrade for some reason, you can get it here

  • Anders Brohus 166 posts 406 karma points
    May 02, 2019 @ 13:28
    Anders Brohus
    0

    Guess it must be the related links, because we are having the same issues!

  • OleP 48 posts 221 karma points
    May 02, 2019 @ 13:39
    OleP
    0

    See here :)

Please Sign in or register to post replies

Write your reply to:

Draft