volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Link Validator job failed

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 failed
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.b__6()
   at EPiServer.Data.Providers.SqlDatabaseHandler.<>c__DisplayClass1`1.b__0()
   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.b__5()

Web.config:

  
    
      
      
      
      
      
      
      
    
  

Any ideas why it could happen?

#136968
Sep 18, 2015 14:40

I found the problem it was one row in DB(table with links, don't remeber its name) with incorrect language fk

#140642
Oct 26, 2015 14:13
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.