• Not Answered

Sitecore 9.1 : Sitecore Cortex - Tag Content throwing exception

Hi,

 

I have configured the API in the configration file(\App_Config\Sitecore\ContentTagging\Sitecore.ContentTagging.OpenCalais.config).

but when I clicked on the Tag content button, it throws following exception:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Sitecore.Buckets.Search.Tags.SitecoreHostedTagRepository.GetTags(String contains) at Sitecore.ContentTagging.Core.Providers.DefaultTaxonomyProvider.GetTag(String tagId) at Sitecore.ContentTagging.Core.Providers.DefaultTaxonomyProvider.CreateTags(IEnumerable`1 tagData) at Sitecore.ContentTagging.Pipelines.TagContent.StoreTags.Process(TagContentArgs args) at (Object , Object ) at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) at Sitecore.ContentTagging.Commands.TagContentCommand.RunTagging(ClientPipelineArgs args) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) at Sitecore.Jobs.JobRunner.RunMethod(JobArgs args) at (Object , Object ) at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) at Sitecore.Jobs.Job.DoExecute() at Sitecore.Jobs.Job.ThreadEntry(Object state)

2 Replies