Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I found the problem it was one row in DB(table with links, don't remeber its name) with incorrect language fk
Hi guys,
When I starts Link Validator job it fail with error: The job failed: Object reference not set to an instance of an object.
Log:
2015-09-18 14:01:23,918 ERROR [5] EPiServer.DataAbstraction.ScheduledJob - Job EPiServer.LinkAnalyzer.LinkValidationJob failedb__6()b__0()b__5() > > >
System.NullReferenceException: Object reference not set to an instance of an object.
at EPiServer.DataAccess.ContentSoftLinkDB.ReadSoftLink(IDataRecord record, String ownerContentIdName, IPermanentLinkMapper permanentLinkMapper, ILanguageBranchRepository languageBranchRepository)
at EPiServer.DataAccess.ContentSoftLinkDB.ReadSoftLinks(DbCommand cmd, String ownerContentIdName, IPermanentLinkMapper permanentLinkMapper, ILanguageBranchRepository languageBranchRepository)
at EPiServer.DataAccess.ContentSoftLinkDB.<>c__DisplayClass7.
at EPiServer.Data.Providers.SqlDatabaseHandler.<>c__DisplayClass1`1.
at EPiServer.Data.Providers.SqlTransientErrorsRetryPolicy.Execute[TResult](Func`1 method)
at EPiServer.LinkAnalyzer.Providers.LinkRepository.GetUncheckedLinks(DateTime lastCheckedDate, TimeSpan ignoreWorkingLinksInterval, Int32 maxNumberOfLinks)
at EPiServer.LinkAnalyzer.LinkValidationRunner.GetNextBatchOfLinks(Int32 count)
at EPiServer.LinkAnalyzer.LinkValidationRunner.ValidateLinks()
at EPiServer.DataAbstraction.ScheduledJob.<>c__DisplayClass9.
Web.config:
Any ideas why it could happen?