smart client and thick client date selector is not working properly


 Product(s):APM Implementation and Performance Management
 Version(s):7.18+
 Environment:N/A
 Area:N/A
 Subarea:N/A

Problem

The smart client and thick client date selector is not working properly or as expected. It is affecting anyone trying to filter the date column as the system is not accepting the value selected and therefore can not filter on reports or configuration.

This behavior occurs with short date format in thick and thin client, only when you set language other than English (United States) in APM configuration.



Error Message:

2023-09-26 15:11:47.1709Z Error <unknown> <unknown> Ivara.Client.UI.WindowManager [10] Caught unhandled exception in WindowManager.OnUIThreadException: System.ArgumentNullException: Value cannot be null.
Parameter name: zone
at NodaTime.Utility.Preconditions.CheckNotNull[T](T argument, String paramName)
at NodaTime.ZonedDateTime..ctor(Instant instant, DateTimeZone zone)
at Ivara.Client.Controls.Specialized.DatePick.GetZonedDateTime()
at Ivara.Client.Controls.Specialized.DatePick.DatePick_Popup(Object sender, EventArgs e)
at DevExpress.XtraEditors.Repository.RepositoryItemPopupBase.RaisePopup(EventArgs e)
at DevExpress.XtraEditors.PopupBaseEdit.DoShowPopup()
at DevExpress.XtraEditors.PopupBaseEdit.ActionShowPopup(EditorButtonObjectInfoArgs buttonInfo)
at DevExpress.XtraEditors.PopupBaseEdit.OnDefaultPressButton(EditorButtonObjectInfoArgs buttonInfo)
at DevExpress.XtraEditors.PopupBaseEdit.OnPressButton(EditorButtonObjectInfoArgs buttonInfo)
at DevExpress.XtraEditors.ButtonEdit.OnMouseDown(MouseEventArgs e)
at DevExpress.XtraEditors.PopupBaseEdit.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at DevExpress.XtraEditors.TextEdit.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Solution/Workaround:

1. Set enterprise to long date format. See APM help for more information: Changing User Interface (UI) Settings



OR

2. Set Thick and smart client language to English (United States) in APM configuration. See APM help for more information Changing the Language for the APM Server