Copied to clipboard

Flag this post as spam?

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


  • Sotiris Filippidis 286 posts 1501 karma points
    Apr 12, 2017 @ 14:58
    Sotiris Filippidis
    0

    Rebuild Nexu Relations hangs, site terminates

    Hi, I just installed Nexu on a site with existing content and tried to rebuild nexu relations - it started well, but at some point it hanged and the whole site went down. Here's what's logged. Any idea why?

    I'm using NestedContent with doctypes that have MultiNode TreePickers as well as MNTPs on regular doctypes. Maybe MNTPs inside NestedContent items cause this?

      2017-04-12 17:53:26,387 [P9324/D2/TNexuRebuildJob] ERROR Umbraco.Core.UmbracoApplicationBase - Unhandled exception in AppDomain (terminating)
    Newtonsoft.Json.JsonReaderException: Error parsing comment. Expected: *, got m. Path '', line 1, position 1.
       at Newtonsoft.Json.JsonTextReader.ParseComment()
       at Newtonsoft.Json.JsonTextReader.ParseValue()
       at Newtonsoft.Json.JsonTextReader.ReadInternal()
       at Newtonsoft.Json.JsonTextReader.Read()
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
       at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
       at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
       at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
       at Our.Umbraco.Nexu.Parsers.PropertyParsers.Core.RelatedLinksParser.GetLinkedEntities(Object propertyValue) in C:\projects\umbraco-nexu\Source\Our.Umbraco.Nexu.Parsers\PropertyParsers\Core\RelatedLinksParser.cs:line 54
       at Our.Umbraco.Nexu.Core.NexuService.<>c__DisplayClass9_0.<GetLinkedEntitesForContent>b__0(PropertyWithParser pp) in C:\projects\umbraco-nexu\Source\Our.Umbraco.Nexu.Core\NexuService.cs:line 130
       at System.Collections.Generic.List`1.ForEach(Action`1 action)
       at Our.Umbraco.Nexu.Core.NexuService.GetLinkedEntitesForContent(IContent content) in C:\projects\umbraco-nexu\Source\Our.Umbraco.Nexu.Core\NexuService.cs:line 127
       at Our.Umbraco.Nexu.Core.NexuService.ParseContent(IContent content) in C:\projects\umbraco-nexu\Source\Our.Umbraco.Nexu.Core\NexuService.cs:line 322
       at Our.Umbraco.Nexu.Core.WebApi.NexuApiController.ParseContent(IContent item) in C:\projects\umbraco-nexu\Source\Our.Umbraco.Nexu.Core\WebApi\NexuApiController.cs:line 203
       at Our.Umbraco.Nexu.Core.WebApi.NexuApiController.ParseContent(IContent item) in C:\projects\umbraco-nexu\Source\Our.Umbraco.Nexu.Core\WebApi\NexuApiController.cs:line 214
       at Our.Umbraco.Nexu.Core.WebApi.NexuApiController.ParseContent(IContent item) in C:\projects\umbraco-nexu\Source\Our.Umbraco.Nexu.Core\WebApi\NexuApiController.cs:line 214
       at Our.Umbraco.Nexu.Core.WebApi.NexuApiController.RebuildJob(Object id) in C:\projects\umbraco-nexu\Source\Our.Umbraco.Nexu.Core\WebApi\NexuApiController.cs:line 171
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart(Object obj)
    
  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Apr 12, 2017 @ 15:47
    Dave Woestenborghs
    100

    Hi Sotiris,

    Thanks for testing the package and providing this feedback.

    Looking at the log you provided it seems that the RelatedLinks Data type is the cause.

    I added some extra logging to that one. Would be nice if you could already test that.

    You can find the Umbraco Package here : https://ci.appveyor.com/project/dawoe/umbraco-nexu/build/artifacts

    And if you are on nuget you can get the latest beta from here : https://www.myget.org/feed/dawoe-umbraco/package/nuget/Our.Umbraco.Nexu

    Hope to that this fixes your issue

    Dave

  • Sotiris Filippidis 286 posts 1501 karma points
    Apr 12, 2017 @ 15:51
    Sotiris Filippidis
    0

    Ah! I saw the "RelatedLinks" string inside the error but I just thought it was something you had named that way (I totally forgot I was using the Related Links editor). :)

    Thanks for the quick reply, I'll test it and I'll let you know!

  • Sotiris Filippidis 286 posts 1501 karma points
    Apr 12, 2017 @ 16:38
    Sotiris Filippidis
    0

    Good news, it completed the build and now it's running smoothly. Thanks! (I'll open another thread for another question I want to ask)

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Apr 12, 2017 @ 18:34
    Dave Woestenborghs
    1

    Hi Sotiris,

    Thanks for testing the beta. I just released the official 1.1.0 release which contians the bugfix.

    Dave

Please Sign in or register to post replies

Write your reply to:

Draft