Hi guys,
We see very often situation where PIm Queries display a "No data message".
Refreshing the page or clicking on the Search button a couple of times eventually solve the issue and the products are loaded. For the admins that are spending their entire day in these interfaces, it's very unproductive to have this behavior.
We have tracked the error to the following message:
System.ObjectDisposedException: Cannot access a closed file. at System.IO.__Error.FileNotOpen() at System.IO.BinaryReader.Read(Byte[] buffer, Int32 index, Int32 count) at Lucene.Net.Store.SimpleFSDirectory.SimpleFSIndexInput.ReadInternal(Byte[] b, Int32 offset, Int32 len) at Lucene.Net.Store.BufferedIndexInput.Refill() at Lucene.Net.Store.BufferedIndexInput.ReadByte() at Lucene.Net.Store.IndexInput.ReadVInt() at Lucene.Net.Index.TermBuffer.Read(IndexInput input, FieldInfos fieldInfos) at Lucene.Net.Index.SegmentTermEnum.Next() at Lucene.Net.Index.SegmentMergeInfo.Next() at Lucene.Net.Index.DirectoryReader.MultiTermEnum.Next() at Lucene.Net.Search.FilteredTermEnum.Next() at Lucene.Net.Search.WildcardQuery.GetEnum(IndexReader reader) at Lucene.Net.Search.MultiTermQuery.ConstantScoreAutoRewrite.Rewrite(IndexReader reader, MultiTermQuery query) at Lucene.Net.Search.WildcardQuery.Rewrite(IndexReader reader) at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader) at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader) at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader) at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader) at Lucene.Net.Search.IndexSearcher.Rewrite(Query original) at Lucene.Net.Search.Query.Weight(Searcher searcher) at Lucene.Net.Search.Searcher.Search(Query query, Filter filter, Int32 n, Sort sort) at Dynamicweb.Indexing.Lucene.LuceneIndexProvider.SearchInternal(IQuery query, QuerySettings settings) at Dynamicweb.Indexing.Querying.QueryService.Query(IQuery query, QuerySettings settings)
I have searched around and I have found this very old post that unfortunately does not have a solution:https://stackoverflow.com/questions/5888653/lucene-net-objectdisposedexception-when-searching
Is there anybody else experiencing the same issue? In our case, we have multiple users very active on PIM lists and have a lot of Saves on the products.
We are running on DW 9.13.x.
Thank you,
Adrian