「フォルダー」 タブに切り替えるとエラーが発生する


説明

コンテンツ エディターにて「フォルダー」タブまたは「HTMLを編集する」ダイアログに切り替えると、ログイン後に未処理の例外が発生する場合があります。その際、下記のようなエラーがログに記録される可能性があります。

例1:

ERROR Rendering of Folder.xaml.xml has been failed with exception: 'The control ItemList has not been initialized'
Exception: Sitecore.Web.UI.XamlSharp.ControlException
Message: The control ItemList has not been initialized
Source: Sitecore.Client
at Sitecore.Shell.Applications.ContentEditor.Editors.Folder.FolderPage.Render()
at Sitecore.Shell.Applications.ContentEditor.Editors.Folder.FolderPage.OnLoad(EventArgs e) ERROR Rendering of EditHtml.xaml.xml has been failed with exception: 'The control ItemList has not been initialized'
Exception: Sitecore.Web.UI.XamlSharp.ControlException
Message: The control ItemList has not been initialized
Source: Sitecore.Client
at Sitecore.Shell.Applications.ContentEditor.Dialogs.EditHtml.EditHtmlPage.OnLoad(EventArgs e)

例2:

756 18:16:42 ERROR Application error.
Exception: System.Web.HttpUnhandledException
Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Source: System.Web
   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.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Nested Exception
Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Sitecore.Client
   at Sitecore.Shell.Applications.ContentEditor.Editors.Folder.FolderPage.Render()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

解決策

本事象を解決するには、Sitecoreインスタンスを再起動します。