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
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!
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:
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.
was this ever solved? I am having the same issues in 7.2.8
we have the same issues with version 7. and its all mvc this time
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!
is working on a reply...