Jump to content
Software FX Community

upgrade to chartfx7-Exception while loading chartfx7 chart


saileela

Recommended Posts

 

 When trying to "Load" or "Restore Defaults" a chart I get an exception: Cannot access a disposed object. Object name: 'a'.

 at System.Windows.Forms.Control.CreateHandle()

at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

at System.Windows.Forms.Control.CreateControl()

at System.Windows.Forms.Control.SetVisibleCore(Boolean value)

at ChartFX.WinForms.a.c(Boolean A_0)

at System.Windows.Forms.Control.set_Visible(Boolean value)

at ChartFX.WinForms.DockableBar.set_Visible(Boolean value)

at ChartFX.WinForms.DockableBar.a(IFrameAmbient A_0)

at ChartFX.WinForms.Internal.AmbientUtils.SetFrameAmbient(Object obj, IFrameAmbient ambient)

at ChartFX.WinForms.Internal.DockableFrameCore.Add(IDockableBar bar, Boolean designMode)

at ChartFX.WinForms.Internal.DockableFrame.Add(IDockableBar bar, Boolean designMode)

at ChartFX.WinForms.Internal.DockableFrameCore.a(Boolean A_0, IPersistBase A_1)

at ChartFX.WinForms.r.a(Object A_0, String A_1, ObjFlags A_2, Int64 A_3)

at ChartFX.WinForms.r.a(String A_0, Object A_1, String A_2, ObjFlags A_3)

at ChartFX.WinForms.Chart.a(Boolean A_0, IPersistBase A_1, Boolean A_2)

at ChartFX.WinForms.Chart.c(Boolean A_0, IPersistBase A_1)

at ChartFX.WinForms.Chart.Import(IPersistBase pers)

at ChartFX.WinForms.Chart.Import(FileFormat format, Stream stream)

at ChartFX.WinForms.PersonalizeAttributes.Load()

at ChartFX.WinForms.u.i()

at ChartFX.WinForms.u.h()

at ChartFX.WinForms.Chart.a(IGraphicsEx A_0, Boolean A_1)

at ChartFX.WinForms.Chart.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)

at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)

at System.Windows.Forms.Form.SetVisibleCore(Boolean value)

at System.Windows.Forms.Control.Show()

at Foresight.Controls.ForesightController.LoadControl(ForesightControl ForesightControl) in D:\Foresight\Controls\ForesightController.vb:line 222

at Foresight.Controls.CreateMenu.MenuAction(ICollection treeNodes, IController& controller) in D:\Foresight\Controls\Forecasts\Create\CreateForecast.vb:line 1502

at Foresight.Controls.MenuHandler.DoAction(String forItem, ICollection nodes, IController cont) in D:\Foresight\Controls\Menus\MenuLoader.vb:line 175

at Foresight.Controls.ForesightController.DotNetBarManager1_ItemClick(Object sender, EventArgs e) in D:\Foresight\Controls\ForesightController.vb:line 204

at DevComponents.DotNetBar.DotNetBarManager.EG(BaseItem 1YM)

at DevComponents.DotNetBar.BaseItem.RaiseClick()

at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)

at DevComponents.DotNetBar.PopupItem.InternalMouseUp(MouseEventArgs objArg)

at DevComponents.DotNetBar.ButtonItem.InternalMouseUp(MouseEventArgs objArg)

at DevComponents.DotNetBar.MenuPanel.OnMouseUp(MouseEventArgs e)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at DevComponents.DotNetBar.MenuPanel.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 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.Application.Run(Form mainForm)

at Foresight.Loader.Startup.MainSTA() in D:\Foresight\Foresight.Loader\Startup.vb:line 102

at System.Threading.ThreadHelper.ThreadStart_Context(Object state)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

at System.Threading.ThreadHelper.ThreadStart()

Please help us in resolving the issue. if any faced this issue earlier can also help us.

Thanks,

Saileela.

Link to comment
Share on other sites

  • 1 month later...
  • 7 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...