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.

MainFrameBarManager.Bars.Clear() crashes

Thread ID:





71251 Jan 23,2008 09:09 AM Jan 25,2008 07:47 PM General Discussion 4
Tags: General Discussion
Asked On January 23, 2008 09:09 AM

I have recently upgraded essential studio from 4.4 to 6.1. In several places of my code i have to clear the bars collection in the MainFrameBarManager, but the operation "myMainFrameBarManager.Bars.Clear();" crashes. The exception thrown is a NullReferenceException, but the bar collection is not null (empty, but not null). How is this possible? Is this a bug? How can I fix it?

Best Regards, Riccardo.

Nandakumar R [Syncfusion]
Replied On January 23, 2008 12:52 PM

Hi Riccardo,

I am afraid I was not able to reproduce the Bars collection clearing throws a null reference exception. Can you try the below sample that I prepared for testing and let me know if you are able to reproduce that? This sample was did in


Thank you for your interest in Syncfusion Essential Studio.


Replied On January 24, 2008 05:53 AM

I have modified your sample making it more similar to my application. Now, clicking the first button, then the second button and finally the third one, the application crashes.

I hope this is more clear.

Waiting for a response, Riccardo.


Nandakumar R [Syncfusion]
Replied On January 25, 2008 12:42 PM

Hi Riccardo,

I regret for the delay in getting back to you on this issue. We are working on this and we will update you before the end of the day.

Thank you for your patience.


Vinoth Kumar K [Syncfusion]
Replied On January 25, 2008 07:47 PM

Hi Riccardo,

Thank you for your interest in Syncfusion products.

The issue mentioned here is suspected to be a defect and we have sent this to our development team for more analysis. We will update you once we get back from our development team.

Thank you for your patience.



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.