[jira] Commented: (LUCENENET-383) System.IO.IOException: read past EOF while deleting the file from upload folder of filemanager.
[ https://issues.apache.org/jira/browse/LUCENENET-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990155#comment-12990155 ] Ivan Zlatev commented on LUCENENET-383: --- I will extract a small test case from my code together with a test index tonight. But I must point out that I didn't notice that the initial reporters stack trace has a Delete() operation in it. What I see are IOExceptions when querying the index, which are thrown, caught and handled *internally* since they don't propagate to user code. This definitely is not a problem for small scale application, but when you have many users hitting the code path it has the potential become a performance hit, especially when I am doing real-time-ish search. > System.IO.IOException: read past EOF while deleting the file from upload > folder of filemanager. > --- > > Key: LUCENENET-383 > URL: https://issues.apache.org/jira/browse/LUCENENET-383 > Project: Lucene.Net > Issue Type: Bug > Environment: production >Reporter: chaitanya > > We are getting System.IO.IOException: read past EOF when deleting the file > from upload folder of filemanager.It used to work fine earlier.But from fast > few days we are getting this error. > We are using episerver content management system and episerver inturn uses > Lucene for indexing. > Please find the following stack trace of the error.Help me inorder to > overcome this error.Thanks in advance > [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.UploadFile.ConfirmReplaceButton_Click(Object sender, > EventArgs e) +578 >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 >System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 >System.Web.UI.Page.ProcessRequestMain(Boolean > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (LUCENENET-383) System.IO.IOException: read past EOF while deleting the file from upload folder of filemanager.
[ https://issues.apache.org/jira/browse/LUCENENET-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990117#comment-12990117 ] Digy commented on LUCENENET-383: Hi Ivan, Can you send a *small* test case (without EPiServer code) showing the bug? DIGY > System.IO.IOException: read past EOF while deleting the file from upload > folder of filemanager. > --- > > Key: LUCENENET-383 > URL: https://issues.apache.org/jira/browse/LUCENENET-383 > Project: Lucene.Net > Issue Type: Bug > Environment: production >Reporter: chaitanya > > We are getting System.IO.IOException: read past EOF when deleting the file > from upload folder of filemanager.It used to work fine earlier.But from fast > few days we are getting this error. > We are using episerver content management system and episerver inturn uses > Lucene for indexing. > Please find the following stack trace of the error.Help me inorder to > overcome this error.Thanks in advance > [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.UploadFile.ConfirmReplaceButton_Click(Object sender, > EventArgs e) +578 >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 >System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 >System.Web.UI.Page.ProcessRequestMain(Boolean > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (LUCENENET-383) System.IO.IOException: read past EOF while deleting the file from upload folder of filemanager.
[ https://issues.apache.org/jira/browse/LUCENENET-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990114#comment-12990114 ] Ivan Zlatev commented on LUCENENET-383: --- This issue is still present in the 2.9 svn tag. I re-tested yesterday after updating from 2.4 and IOExceptions are thrown for each search. I am not doing any delete/index just searching an existing index when I see those. > System.IO.IOException: read past EOF while deleting the file from upload > folder of filemanager. > --- > > Key: LUCENENET-383 > URL: https://issues.apache.org/jira/browse/LUCENENET-383 > Project: Lucene.Net > Issue Type: Bug > Environment: production >Reporter: chaitanya > > We are getting System.IO.IOException: read past EOF when deleting the file > from upload folder of filemanager.It used to work fine earlier.But from fast > few days we are getting this error. > We are using episerver content management system and episerver inturn uses > Lucene for indexing. > Please find the following stack trace of the error.Help me inorder to > overcome this error.Thanks in advance > [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.UploadFile.ConfirmReplaceButton_Click(Object sender, > EventArgs e) +578 >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 >System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 >System.Web.UI.Page.ProcessRequestMain(Boolean > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (LUCENENET-383) System.IO.IOException: read past EOF while deleting the file from upload folder of filemanager.
[ https://issues.apache.org/jira/browse/LUCENENET-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968383#action_12968383 ] Digy commented on LUCENENET-383: Hi Chaitanya, Even tought it seems to be a Lucene.Net bug, I don't think that you will find anyone willing to fix that 4 years old version. It is probably fixed in 2.9.2 DIGY > System.IO.IOException: read past EOF while deleting the file from upload > folder of filemanager. > --- > > Key: LUCENENET-383 > URL: https://issues.apache.org/jira/browse/LUCENENET-383 > Project: Lucene.Net > Issue Type: Bug > Environment: production >Reporter: chaitanya > > We are getting System.IO.IOException: read past EOF when deleting the file > from upload folder of filemanager.It used to work fine earlier.But from fast > few days we are getting this error. > We are using episerver content management system and episerver inturn uses > Lucene for indexing. > Please find the following stack trace of the error.Help me inorder to > overcome this error.Thanks in advance > [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.UploadFile.ConfirmReplaceButton_Click(Object sender, > EventArgs e) +578 >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 >System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 >System.Web.UI.Page.ProcessRequestMain(Boolean > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (LUCENENET-383) System.IO.IOException: read past EOF while deleting the file from upload folder of filemanager.
[ https://issues.apache.org/jira/browse/LUCENENET-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966565#action_12966565 ] Neal Granroth commented on LUCENENET-383: - You will probably need to work with the developers of the " episerver content management system ". I'd be concerned with this line in the stack trace: EPiServer.Web.Hosting.Versioning.Store.FileOperations.DeleteItemIdFromIndex(String filePath, Object fileId) +78 How do they know that the "id" in their call is valid? It is possible that the document "id" that they are attempting to delete from the Lucene index does not exist. > System.IO.IOException: read past EOF while deleting the file from upload > folder of filemanager. > --- > > Key: LUCENENET-383 > URL: https://issues.apache.org/jira/browse/LUCENENET-383 > Project: Lucene.Net > Issue Type: Bug > Environment: production >Reporter: chaitanya > > We are getting System.IO.IOException: read past EOF when deleting the file > from upload folder of filemanager.It used to work fine earlier.But from fast > few days we are getting this error. > We are using episerver content management system and episerver inturn uses > Lucene for indexing. > Please find the following stack trace of the error.Help me inorder to > overcome this error.Thanks in advance > [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.UploadFile.ConfirmReplaceButton_Click(Object sender, > EventArgs e) +578 >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 >System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 >System.Web.UI.Page.ProcessRequestMain(Boolean > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.