We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

DockableWorkspace closing app exception

Thread ID:

Created:

Updated:

Platform:

Replies:

79399 Feb 6,2009 05:14 AM Sep 14,2009 07:37 AM General Discussion 6
loading
Tags: General Discussion
Administrator [Syncfusion]
Asked On February 6, 2009 05:14 AM

Hello,

I'm using syncfusion dockable workspace together with tabbed mdi one in a CAB/SCSF application. When I close the app, I have problems with dockable workspace (see stacktrace below), as a result I can't close my app properly.


System.NullReferenceException was unhandled by user code
Message="Object reference not set to an instance of an object."
Source="Syncfusion.Tools.Windows"
StackTrace:
at Syncfusion.Windows.Forms.Tools.DockHost.UnsubscribeDockHostEvents()
at Syncfusion.Windows.Forms.Tools.DockingManager.SetEnableDocking(Control ctrl, Boolean value)
at Syncfusion.CAB.WinForms.WorkSpaces.DockableWorkSpace.CloseDockedWindow(Control window)
at Syncfusion.CAB.WinForms.WorkSpaces.DockableWorkSpace.OnClose(Control smartPart)
at Microsoft.Practices.CompositeUI.SmartParts.Workspace`2.CloseInternal(TSmartPart smartPart)
at Microsoft.Practices.CompositeUI.SmartParts.Workspace`2.Close(Object smartPart)
at ECGSmartClient.Infrastructure.Interface.Presenter`1.CloseView()
at ECGSmartClient.ECGClient.UserEventsViewPresenter.OnCloseView()
at ECGSmartClient.Infrastructure.Interface.Presenter`1.Dispose(Boolean disposing)
at ECGSmartClient.Infrastructure.Interface.Presenter`1.Dispose()
at ECGSmartClient.ECGClient.UserEventsView.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)
at Syncfusion.Windows.Forms.Tools.DockHost.Dispose(Boolean bdisposing)
at System.ComponentModel.Component.Dispose()
at Syncfusion.Windows.Forms.Tools.DockHostController.Dispose(Boolean bdisposing)
at Syncfusion.Windows.Forms.Tools.SizingController.Dispose(Boolean bdisposing)
at Syncfusion.Windows.Forms.Tools.MainFormController.Dispose(Boolean bdisposing)
at Syncfusion.Windows.Forms.Tools.DockingManager.Dispose(Boolean bdisposing)
at System.ComponentModel.Component.Dispose()
at System.ComponentModel.Container.Dispose(Boolean disposing)
at System.ComponentModel.Container.Dispose()
at ECGSmartClient.Infrastructure.Shell.ECGShellForm.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at Syncfusion.Windows.Forms.Office2007Form.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
InnerException:

Please advise.



Poly J [Syncfusion]
Replied On February 9, 2009 07:02 AM

Hi Eugene,

If you are using latest public release version [7.1.0.21] of Essential Studio, can you install the Cab Add on Set up from the below provided link.

http://www.syncfusion.com/uploads/redirect.aspx?file=EssentialCABAddonSetup_375ab456.zip&team=development

Please let me know if you are still able to reproduce the issue, also let us know the version details of the set up you are using.

Best Regards,
Poly


Administrator [Syncfusion]
Replied On February 10, 2009 12:22 PM

Hi Poly,

I'm using 6.1.0.34 now, so I guess I will need to upgrade first unless you see any other options. By the way, is it an easy thing to do or there are iny backward incopatibilities between versions?

Eugene


Poly J [Syncfusion]
Replied On February 20, 2009 07:39 AM

Hi Eugene,

Sorry for very long delay in providing an update for you. There will not be any backward compatibility issues between version 6.1 and latest released version 7.1. The latest version includes more features and fixes and I would recommend you to upgrade to the latest version.

Unfortunately am not able to reproduce the issue which you have reported with the stack trace. Can you update me more details on this issue? Are you handling dock control closing /closed events or disposing the dock enabled controls while closing the dock window. Please let me know more details regarding this for providing a solution for this.

Regards,
Poly





Le Van Minh
Replied On August 20, 2009 03:26 AM

I have the same problem. I use Syncfusion DockableWorkspace in Smart Client Software Factory project, the exception appears when the Close method of the Workspace is called to close smartparts.

Regards,

Le Van Minh
Replied On August 20, 2009 03:52 AM

You can reproduce the problem as following. (I am using Syncfusion WinForms 7.3.0.20)

- Open the VSDEMOCAB_2008 solution in Visual Studio (available when download Syncfusion CAB package)
- Run the application
- Close all smartparts you see
- Open View>Task List
- Sometime the Task List smartpart doesn't appear and if it appears, you close the app and you will see the exception.

I also found other bugs with syncfusion the first time I try the components.


Hope it helps,

Mano J [Syncfusion]
Replied On September 14, 2009 07:37 AM

Hi Le,

Thanks for pointing it out. These issues will be fixed in volume 3 refresh release scheduled to be released this month.

If you see any other issues, please create a new Direct-Trac incident and provide details over there.

Let me know if you have any questions.

Regards,
Mano

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;