Copied to clipboard

Flag this post as spam?

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


  • Mats Johansson 1 post 71 karma points
    Sep 03, 2015 @ 07:42
    Mats Johansson
    0

    Problem with publishing uBlogsy posts

    New pages are not being indexed correctly in Examine. Publishing a post floods the log with these error messages like these:

    2015-09-03 09:21:30,027 [6] ERROR System.Exception - [Thread 15] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels.
    System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at System.Collections.ObjectModel.KeyedCollection`2.get_Item(TKey key)
       at Umbraco.Core.Models.ContentBase.GetValue(String propertyTypeAlias)
       at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias)
    2015-09-03 09:21:30,027 [6] ERROR System.Exception - [Thread 15] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels, aliasInNode:uBlogsyLabelName.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode)
    2015-09-03 09:21:30,027 [6] ERROR System.Exception - [Thread 15] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
    System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at System.Collections.ObjectModel.KeyedCollection`2.get_Item(TKey key)
       at Umbraco.Core.Models.ContentBase.GetValue(String propertyTypeAlias)
       at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias)
    2015-09-03 09:21:30,027 [6] ERROR System.Exception - [Thread 15] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias)
    2015-09-03 09:21:30,095 [6] ERROR System.Exception - [Thread 15] During indexing luceneFieldName:uBlogsySearchableTags, propertyAlias:uBlogsyPostTags.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias)
    2015-09-03 09:21:30,095 [6] ERROR System.Exception - [Thread 15] During indexing luceneFieldName:uBlogsySearchableTags, propertyAlias:uBlogsyPostTags, aliasInNode:uTagsyTagName.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode)
    2015-09-03 09:21:30,096 [6] ERROR System.Exception - [Thread 15] During indexing luceneFieldName:uBlogsySearchableTagIds, propertyAlias:uBlogsyPostTags.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias)
    2015-09-03 09:21:30,096 [6] ERROR System.Exception - [Thread 15] During indexing luceneFieldName:uBlogsySearchableTagIds, propertyAlias:uBlogsyPostTags.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias)
    2015-09-03 09:21:34,978 [6] ERROR System.Exception - [Thread 17] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels.
    System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at System.Collections.ObjectModel.KeyedCollection`2.get_Item(TKey key)
       at Umbraco.Core.Models.ContentBase.GetValue(String propertyTypeAlias)
       at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias)
    2015-09-03 09:21:34,978 [6] ERROR System.Exception - [Thread 17] During indexing luceneFieldName:uBlogsySearchableLabels, propertyAlias:uBlogsyPostLabels, aliasInNode:uBlogsyLabelName.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode)
    2015-09-03 09:21:34,978 [6] ERROR System.Exception - [Thread 17] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
    System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at System.Collections.ObjectModel.KeyedCollection`2.get_Item(TKey key)
       at Umbraco.Core.Models.ContentBase.GetValue(String propertyTypeAlias)
       at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias)
    2015-09-03 09:21:34,978 [6] ERROR System.Exception - [Thread 17] During indexing luceneFieldName:uBlogsySearchableLabelIds, propertyAlias:uBlogsyPostLabels.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias)
    2015-09-03 09:21:34,979 [6] ERROR System.Exception - [Thread 17] During indexing luceneFieldName:uBlogsySearchableTags, propertyAlias:uBlogsyPostTags.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias)
    2015-09-03 09:21:34,979 [6] ERROR System.Exception - [Thread 17] During indexing luceneFieldName:uBlogsySearchableTags, propertyAlias:uBlogsyPostTags, aliasInNode:uTagsyTagName.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at uHelpsy.Helpers.ExamineIndexHelper.AddIndexByPropertyInSelectedNodes(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias, String aliasInNode)
    2015-09-03 09:21:34,979 [6] ERROR System.Exception - [Thread 17] During indexing luceneFieldName:uBlogsySearchableTagIds, propertyAlias:uBlogsyPostTags.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at uHelpsy.Helpers.ExamineIndexHelper.GetValueFromFieldOrProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias)
    2015-09-03 09:21:34,979 [6] ERROR System.Exception - [Thread 17] During indexing luceneFieldName:uBlogsySearchableTagIds, propertyAlias:uBlogsyPostTags.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at uHelpsy.Helpers.ExamineIndexHelper.AddIdsFromCsvProperty(IndexingNodeDataEventArgs e, String luceneFieldName, String propertyAlias)
    

    Nodes are created in umbraco but in production, new posts are not showing up in blog post lists. We have tried to restarting app-pool and deleting entire index, to let umbraco rebuild index, no difference but alot of these Examine errors.

    We are using uBlogsy v. 4.1.0.0 and Umbraco version 7.2.4 assembly: 1.0.5557.19139

    Im all out of ideas.

  • denisedelbando 141 posts 339 karma points
    Dec 16, 2015 @ 20:20
    denisedelbando
    0

    was this ever solved? I am having the same issues in 7.2.8

  • denisedelbando 141 posts 339 karma points
    Jan 14, 2016 @ 21:35
    denisedelbando
    0

    we have the same issues with version 7. and its all mvc this time

  • L P 13 posts 123 karma points
    Oct 23, 2018 @ 11:09
    L P
    0

    The index gathering in uBlogsy plugin is missing simple checks for existence of the uBlogsy fields!

    The problem is in the uHelpsy but as the source code is not available get the code for the uBlogsy plugin and specifically uBlogsy.BusinessLogic project - the issue is in UmbracoExamineEvents.cs file! You will see those methods from the logs (AddIndexByPropertyInSelectedNodes and AddIdsFromCsvProperty). Just have to add e.Fields.ContainsKey condition before each couple of methods and it will fix the problem! It also needs to have this check for uBlogsyPostDate field too!

Please Sign in or register to post replies

Write your reply to:

Draft