November Happy Hour will be moved to Thursday December 5th.

Error indexing VirtualPathNativeProvider files

Vote:
 

Hi!

We have problems when indexing files that are in a VirtualPathNativeProvider folder. Files in other folders are indexed.

 

We found this error in the find.log: (3 errors and tree paths that are not indexed)

 

2013-09-24 16:46:16,256 ERROR [20] EPiServer.Find.Cms.PageIndexer.ReIndex - An exception occured while indexing (Batch): Object reference not set to an instance of an object..

System.NullReferenceException: Object reference not set to an instance of an object.

   at EPiServer.Web.Hosting.VersioningFile.get_LocalPath()

   at EPiServer.Find.Cms.PageDataExtensions.<GetPageFiles>b__d(UnifiedFile f)

   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()

   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)

   at EPiServer.Find.Cms.PageIndexer.Index(IEnumerable`1 pages, IndexOptions options)

   at EPiServer.Find.Cms.PageIndexer.ReIndex(Action`1 statusAction, Func`1 isStopped)

 

The configuration setting for episerver.find in global.asax.cs is

PageIndexer.Instance.Conventions.EnablePageFilesIndexing();

            FileIndexer.Instance.Conventions.ShouldIndexVPPConvention = new VisibleInFilemanagerVPPIndexingConvention();

Cms: EPiServer.cms 6.1 SP2

#75311
Sep 24, 2013 21:16
Vote:
 

Oh. I was a bit quick to post this error. This errormessage is connected to the pagefiles and not the the vpp itselves. But we still have problems to Indexing all vpp folders (we have four VirtualPathVersioningProviders and three VirtualPathVersioningProvider, we have more than 65000 pages and more than 80 000 files). I Tried to Index on of the vpp not indexed by harcoding a new vppconvention, and the files for this vpp was then indexed. It is possible that the scheduller just stop, time out or something? The Indexjob take more than 4 houers. 

Does anyone have any experience, that can help me?

#75671
Oct 03, 2013 10:29
* 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.