Getting Exception while deleting uploaded image in filemanagement.


Getting System.IO.IOException: read past EOF while deleting image in file management.Please check the following Stack trace and advice how to overcome this.

[IOException: read past EOF]
   Lucene.Net.Store.BufferedIndexInput.Refill() +233
   Lucene.Net.Store.BufferedIndexInput.ReadByte() +21
   Lucene.Net.Store.IndexInput.ReadInt() +13
   Lucene.Net.Index.SegmentInfos.Read(Directory directory) +60
   Lucene.Net.Index.AnonymousClassWith.DoBody() +45
   Lucene.Net.Store.With.Run() +67
   Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory) +110
   Lucene.Net.Index.IndexReader.Open(String path) +65
   EPiServer.Web.Hosting.Versioning.Store.FileOperations.DeleteItemIdFromIndex(String filePath, Object fileId) +78
   EPiServer.Web.Hosting.Versioning.Store.FileOperations.DeleteFile(Object dirId, Object fileId) +118
   EPiServer.Web.Hosting.Versioning.VersioningFileHandler.Delete() +28
   EPiServer.Web.Hosting.VersioningFile.Delete() +118
   EPiServer.UI.Hosting.DeleteSelection.DeleteButton_Click(Object sender, EventArgs e) +327
   EPiServer.UI.WebControls.ToolButton.OnClick(EventArgs e) +107
   EPiServer.UI.WebControls.ToolButton.RaisePostBackEvent(String eventArgument) +135
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   EPiServer.UI.Admin.FileManagement.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +41
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

Oct 27, 2010 7:43

Which EPiServer version? Are you running any plugins? Do you have any custom event handling for your file events?

Oct 28, 2010 8:29

We are using Episerver CMS5.Verion is 5.2.375.236.No plugins are runnig and no cutom event handling for file events.

Oct 29, 2010 9:38

Still i am having the problem while deleting the image from file manager.This error is not coming regularly.And even this error is coming in our production environment only.Can anbody has idea on lucene index service...restarting indexing service will make any me in this regard..thanks in advance

Nov 04, 2010 7:40
* 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.