Gravatar for jschjolberg@awareweb.com

Question by jschjolberg, Jun 12, 2014 3:14 PM

What Do Errors in Sitecore Logs Mean?

I am getting the following error in my Sitecore log file when saving certain items:

ManagedPoolThread #12 14:08:21 INFO Job started: IndexUpdateIndexName=sitecoremasterindex ManagedPoolThread #12 14:08:21 WARN Precondition failed: The parameter 'FieldMap' must not be null ManagedPoolThread #12 14:08:21 ERROR An error while Initializing occurred Exception: System.ArgumentNullException Message: Precondition failed: The parameter 'FieldMap' must not be null Parameter name: FieldMap Source: Coveo.Framework at Coveo.Framework.CNL.Precondition.NotNull(Object pParameter, String pParameterName) at Coveo.AbstractLayer.Communication.Queue.CesCommunicationFactory..ctor(CoveoIndexConfiguration pConfig, CoveoFieldNameTranslator pFieldNameTranslator, IEnumerable1 p_DatabaseNames) at Coveo.SearchProvider.ProviderIndexHelperFactory.CreateCESCommunication(CoveoIndexConfiguration p_IndexConfiguration, CoveoFieldNameTranslator p_FieldNameTranslator, IEnumerable1 p_DatabaseNames) at Coveo.SearchProvider.ProviderIndex.Initialize()

I'm also getting the following warning multiple times when I save an item with an Image field:

984 14:08:53 WARN The sample Coveo search page is not found with id: "{D0B70D73-C95B-4B8F-B7A6-EBA91CBC8301}". If the sample page is not needed, the current pipeline could be disabled.

Any ideas on what could be causing these? Thanks!

1 Reply
Gravatar for vseguin@coveo.com

Answer by Vincent Séguin, Jun 12, 2014 6:18 PM

Hi,

For the message 984 14:08:53 WARN The sample Coveo search page is not found with id: "{D0B70D73-C95B-4B8F-B7A6-EBA91CBC8301}". If the sample page is not needed, the current pipeline could be disabled.

It's coming from a processor used to determine the Insert Options of the Coveo Search Page. It tries to find the template item of the Coveo Search Page in the current database you're in. You may see the error message if you don't have the expected GUID of the page is not the same, if you didn't publish it etc. It simply causes your insert options to not have the Coveo Search Page in it.

For the Precondition one, it's a bit strange. It would mean that the field map in your Search Provider would be null, and this occurs on the index initialization. It's a 'preventive' error. Did you experience any trouble with this, problem with indexing process or anything?

Gravatar for jschjolberg@awareweb.com

Comment by jschjolberg, Jun 16, 2014 8:21 AM

Thanks for the information. I haven't experienced any trouble writing the indexes directly from Sitecore. We're running into an issue where Sitecore content authors are trying to edit an image field on an item. It seems that when this is done, the sitecoremasterindex starts to build and when this happens the Sitecore interface freezes up and then the user is logged out of Sitecore.

Gravatar for jschjolberg@awareweb.com

Comment by jschjolberg, Jun 16, 2014 8:21 AM

It seems like it has something to do with the index starting to build. We aren't sure if these errors and warnings are causing this but we're trying to see if they are connected in any way.

So when you say the field map in my Search Provider is null, are you talking about a config setting or is this something to look at in the Coveo admin?

Gravatar for vseguin@coveo.com

Comment by Vincent Séguin, Jun 16, 2014 8:26 AM

For the image field problem, this is really strange. Indeed, if an item is edited, the item should be indexed… but the whole index should not be rebuilt. I never saw the behavior you're describing, are you reproducing it every time?

For the field map, this is purely in code, there is no setting or admin. It could be null if Sitecore tries to initialize the index faster than its components, which would be kinda weird, but this is possible.

I would suggest, try to reproduce the problem and check if you see this field map error in the logs everytime. If yes, let us know quickly.

Ask a question