Page 1 of 1

Unhandled Exception clicking on upcoming "upcoming overlays"

Posted: 10 Mar 2019 01:28
by phonic
Unhandled Exception clicking on upcoming "upcoming overlays". blank white upcoming overlay window opens and this error box:

10/03/2019 00:22:44 [v4.0.5.8]:********** Error/Exception Information **********
Error Message: Cannot access the 'Reminders' property of a disposed object
Object name: 'Appointment'.
Error Type: System.ObjectDisposedException
Error Source: DevExpress.XtraScheduler.v18.2.Core.Void ThrowObjectDisposedException(System.String, System.String)
********** System Stack Trace **********
at DevExpress.XtraScheduler.Native.Exceptions.ThrowObjectDisposedException(String objectName, String propName)
at DevExpress.XtraScheduler.Internal.Implementations.AppointmentInstance.get_Reminders()
at DevExpress.XtraScheduler.Native.ReminderReadOnlyCollection.get_InnerList()
at DevExpress.XtraScheduler.Native.InnerAppointment.get_HasReminder()
at ProppFrexx.UpcomingOverlays.bKPL(Appointment )
at ProppFrexx.UpcomingOverlays.OKPf(Object , GetCustomNodeCellStyleEventArgs )
at DevExpress.XtraTreeList.TreeList.RaiseGetCustomNodeCellStyle(GetCustomNodeCellStyleEventArgs e)
at DevExpress.XtraTreeList.TreeList.InternalGetCustomNodeCellStyle(TreeListColumn column, TreeListNode node, AppearanceObject appearance)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcNodeAutoHeight(RowInfo ri, Int32 nodeHeight, IHeaderObjectCollection headers, Boolean even, Boolean includeColumnIndent, AppearanceObject additionalApp)
at DevExpress.XtraTreeList.TreeList.CalcNodeAutoHeight(RowInfo ri, Int32 nodeHeight, IHeaderObjectCollection headers, Boolean even, Boolean includeColumnIndent, AppearanceObject additionalApp)
at DevExpress.XtraTreeList.TreeList.InternalCalcNodeHeight(RowInfo ri, Int32 nodeHeight, Boolean useCache, IHeaderObjectCollection headers, Boolean even, Boolean includeColumnIndent, AppearanceObject additionalApp)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcNodeHeight(RowInfo ri)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.GetTotalNodeHeight(TreeListNode node)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcVisibleNodeCountCore(TreeListNode topNode, Int32 height, Boolean down)
at DevExpress.XtraTreeList.TreeList.get_IsNeededVScrollBar()
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcClientRect(Rectangle scrollRect)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcViewRects()
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcViewInfo()
at DevExpress.XtraTreeList.TreeList.UpdateLayout()
at DevExpress.XtraTreeList.TreeList.LayoutChanged()
at DevExpress.XtraTreeList.TreeList.EndUpdate()
at ProppFrexx.UpcomingOverlays.YTW.DZ12()
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
********** End **********

Re: Unhandled Exception clicking on upcoming "upcoming overlays"

Posted: 10 Mar 2019 01:31
by phonic
This is the second time the has happened, and had to restart restore upcoming overlay window otherwise it just gives an empty write box.
As the software is now live, I can't just keep restarting it all the time.

Any reason for this error?

Re: Unhandled Exception clicking on upcoming "upcoming overlays"

Posted: 10 Mar 2019 17:01
by phonic
No I don't use beta on a production system v4.0.5.8.

Managed to restart at 2am in a quiet spot an just had the same thing again:

10/03/2019 15:51:34 [v4.0.5.8]:********** Error/Exception Information **********
Error Message: Cannot access the 'Reminders' property of a disposed object
Object name: 'Appointment'.
Error Type: System.ObjectDisposedException
Error Source: DevExpress.XtraScheduler.v18.2.Core.Void ThrowObjectDisposedException(System.String, System.String)
********** System Stack Trace **********
at DevExpress.XtraScheduler.Native.Exceptions.ThrowObjectDisposedException(String objectName, String propName)
at DevExpress.XtraScheduler.Internal.Implementations.AppointmentInstance.get_Reminders()
at DevExpress.XtraScheduler.Native.ReminderReadOnlyCollection.get_InnerList()
at DevExpress.XtraScheduler.Native.InnerAppointment.get_HasReminder()
at ProppFrexx.UpcomingOverlays.bKPL(Appointment )
at ProppFrexx.UpcomingOverlays.OKPf(Object , GetCustomNodeCellStyleEventArgs )
at DevExpress.XtraTreeList.TreeList.RaiseGetCustomNodeCellStyle(GetCustomNodeCellStyleEventArgs e)
at DevExpress.XtraTreeList.TreeList.InternalGetCustomNodeCellStyle(TreeListColumn column, TreeListNode node, AppearanceObject appearance)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcNodeAutoHeight(RowInfo ri, Int32 nodeHeight, IHeaderObjectCollection headers, Boolean even, Boolean includeColumnIndent, AppearanceObject additionalApp)
at DevExpress.XtraTreeList.TreeList.CalcNodeAutoHeight(RowInfo ri, Int32 nodeHeight, IHeaderObjectCollection headers, Boolean even, Boolean includeColumnIndent, AppearanceObject additionalApp)
at DevExpress.XtraTreeList.TreeList.InternalCalcNodeHeight(RowInfo ri, Int32 nodeHeight, Boolean useCache, IHeaderObjectCollection headers, Boolean even, Boolean includeColumnIndent, AppearanceObject additionalApp)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcNodeHeight(RowInfo ri)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.GetTotalNodeHeight(TreeListNode node)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcVisibleNodeCountCore(TreeListNode topNode, Int32 height, Boolean down)
at DevExpress.XtraTreeList.TreeList.get_IsNeededVScrollBar()
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcClientRect(Rectangle scrollRect)
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcViewRects()
at DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcViewInfo()
at DevExpress.XtraTreeList.TreeList.UpdateLayout()
at DevExpress.XtraTreeList.TreeList.LayoutChanged()
at DevExpress.XtraTreeList.TreeList.EndUpdate()
at ProppFrexx.UpcomingOverlays.YTW.DZ12()
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
********** End **********

Re: Unhandled Exception clicking on upcoming "upcoming overlays"

Posted: 10 Mar 2019 21:16
by radio42
I am trying to reproduce it, but so far I was not able. I need to investigate, what might be causing this issue.

Re: Unhandled Exception clicking on upcoming "upcoming overlays"

Posted: 10 Mar 2019 21:48
by radio42
I am trying to investigate, but as this is a Beta-Version you are using, you might roll back to the last stable version!

Re: Unhandled Exception clicking on upcoming "upcoming overlays"

Posted: 10 Mar 2019 22:27
by phonic
For the moment I'm not clicking on this option in case it messes up the live system.

Re: Unhandled Exception clicking on upcoming "upcoming overlays"

Posted: 12 Mar 2019 17:14
by radio42
Should be fixed in the latest v4.0.5.17 update.

Re: Unhandled Exception clicking on upcoming "upcoming overlays"

Posted: 13 Mar 2019 14:29
by phonic
Just updated. Thanks for your help!