in my case,
first. Library Explore is deselected from view menu,
then close AEM program. then Error Occur.
If Library Explore is selected, the error does not occur.
ps. where is update menu anyway?
Error message is below
--------------------------------------
Unknown Application Error
System.ArgumentNullException:Value cannot be null.
Parameter name: container
at System.Windows.Controls.ItemContainerGenerator.IndexFromContainer(DependencyObject container)
at AlfaNetSoft.Controls.OutlookPane.get_SelectedIndex()
at AlfaNetSoft.AEM.Presentation.Views.NavigationPaneView.SaveState()
at AlfaNetSoft.AEM.Applications.ViewModels.ShellViewModel.ViewClosing(Object sender,CancelEventArgs e)
at System.ComponentModel.CancelEventHandler.Invoke(Object sender,CancelEventArgs e)
at System.Windows.Window.OnClosing(CancelEventArgs e)
at System.Windos.Window.WindowFilterMessage(InPtr hwnd,Int32 msg,IntPtr wParam,IntPtr IParm,Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtrhwnd,Int32 msg, IntPtr wParam, IntPtr IParam,Bolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd,Int32 msg,IntPtr wParam,IntPtr IParam,Boolean& ahndled)
at MS.Win32.HwnSubclass.DispatcherCallbackOperation(Object o)
at System.WindowsThreading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args,Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Ojbect source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
---------------------------------------------------