Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #127 (new defect)

Opened 9 years ago

Last modified 9 years ago

Exception when publishing a page - DeleteDocuments fails

Reported by: steve@… Owned by: andyturl@…
Priority: major Component: EasySearch
Keywords: Cc:

Description

It seems like the index can get corrupted in some way as I get this error when I publish an existing page:

System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Lucene.Net.Index.TermInfosReader.GetIndexOffset(Term term)
   at Lucene.Net.Index.TermInfosReader.Get(Term term)
   at Lucene.Net.Index.SegmentTermDocs.Seek(Term term)
   at Lucene.Net.Index.MultiTermDocs.TermDocs(Int32 i)
   at Lucene.Net.Index.MultiTermDocs.Next()
   at Lucene.Net.Index.MultiTermDocs.Next()
   at Lucene.Net.Index.MultiTermDocs.Next()
   at Lucene.Net.Index.MultiTermDocs.Next()
   at Lucene.Net.Index.IndexReader.DeleteDocuments(Term term)
   at NetworkedPlanet.EasySearch.Lucene.LuceneIndexer.IndexPage(PageData page, Boolean raiseRemoteEvent)
   at NetworkedPlanet.EasySearch.AbstractIndexer.IndexPage(PageData page)
   at NetworkedPlanet.EasySearch.Events.EPiEventManager.PagePublished(Object sender, PageEventArgs e)
   at EPiServer.PageEventHandler.Invoke(Object sender, PageEventArgs e)
   at EPiServer.Core.PageStoreBase.RaisePageEvent(Object key, PageEventArgs eventArgs)
   at EPiServer.DataFactory.Save(PageData page, SaveAction action, AccessLevel access)
   at EPiServer.DataFactory.Save(PageData page, SaveAction action)
   at EPiServer.Web.PageExtensions.SaveCurrentPage.SavePage()
   at EPiServer.PageBase.SavePage()
   at EPiServer.UI.Edit.EditPanel.SavePage()
   at EPiServer.UI.Edit.EditPageButtonControl.Save(SaveAction saveAction, Boolean goToViewPage)
   at EPiServer.UI.Edit.EditPageButtonControl.Publish_Click(Object sender, EventArgs e)
   at EPiServer.UI.WebControls.ToolButton.OnClick(EventArgs e)
   at EPiServer.UI.WebControls.ToolButton.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   --- End of inner exception stack trace ---
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.cms_edit_editpanel_aspx.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I deleted the index, and the error disappeared.

Versions:

  • NetworkedPlanet.EasySearch.dll: 1.1.0.1
  • NetworkedPlanet.EasySearch.Lucene.dll: 1.1.0.1

Change History

comment:1 Changed 9 years ago by steve@…

Forgot: EPiServer CMS 5 R2 SP1

Note: See HelpUser/Tickets for help on using tickets.