Error Message: Cannot access the 'CustomFields' property of a disposed object

You found a bug or have any issues? Please post them here!
Post Reply
phonic
Posts: 327
Joined: 06 Mar 2019 14:45
Error Message: Cannot access the 'CustomFields' property of a disposed object

Post by phonic »

On my own machine using the new version 4.0.5.40, It also forced closed ProppFrexx (Windows 10 Pro 16GB memory):

13/06/2019 21:09:10 [v4.0.5.40]:********** Error/Exception Information **********
Error Message: Cannot access the 'CustomFields' property of a disposed object
Object name: 'PersistentObject'.
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.PersistentObject.get_CustomFields()
at ProppFrexx.Advertising.OverlayScheduler.zVyW(Object , CustomizeAppointmentFlyoutEventArgs )
at DevExpress.XtraScheduler.SchedulerControl.RaiseCustomizeAppointmentFlyout(CustomizeAppointmentFlyoutEventArgs args)
at DevExpress.XtraScheduler.FlyoutController.CreateFlyoutData(IAppointmentView aptView, AppearanceObject appearance, AppearanceObject subjectAppearance)
at DevExpress.XtraScheduler.FlyoutController.CreateFlyoutControl(IAppointmentView aptView)
at DevExpress.XtraScheduler.FlyoutController.ShowFlyout(IAppointmentView aptView)
at DevExpress.XtraScheduler.Commands.ShowAppointmentFlyoutCommand.Execute(IAppointmentView appointmentView)
at DevExpress.XtraScheduler.Native.SchedulerMouseHandler.ShowAppointmentFlyout(ISchedulerHitInfo hitInfo)
at DevExpress.XtraScheduler.Native.SchedulerMouseHandler.OnAppointmentContentMouseHover(ISchedulerHitInfo hitInfo)
at DevExpress.XtraScheduler.Native.SchedulerMouseHandler.OnMouseHover(ISchedulerHitInfo hitInfo)
at DevExpress.Utils.MouseHoverController`1.<>c__DisplayClass4_0.<.ctor>b__0(Object s, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
********** Environment Stack Trace **********
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ProppFrexx.ErrorDialog.GetExceptionInfo(Exception e, Boolean full)
at ProppFrexx.ProppFrexx_ONAIR.UYFI(Exception )
at ProppFrexx.ProppFrexx_ONAIR.JYF8(Exception )
at ProppFrexx.ProppFrexx_ONAIR.jYFB(Object , ThreadExceptionEventArgs )
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Timer.TimerNativeWindow.OnThreadException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at ProppFrexx.ProppFrexx_ONAIR.kY4x(Object , ItemClickEventArgs )
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraBars.Controls.CustomControl.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at kb.hg.Main(String[] args)
********** End **********
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Error Message: Cannot access the 'CustomFields' property of a disposed object

Post by radio42 »

You are using a quite old version here.
Please upgrade to the latest version: fromv4.0.5.40 to v4.1.5.0.
This error should already be fixed.
phonic
Posts: 327
Joined: 06 Mar 2019 14:45
Re: Error Message: Cannot access the 'CustomFields' property of a disposed object

Post by phonic »

my apologies I posted the wrong error when copying from the log.

Post Reply