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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MainFrameBarManager.Bars.Clear() crashes

Thread ID:





71251 Jan 23,2008 02:09 PM UTC Jan 26,2008 12:47 AM UTC General Discussion 4
Tags: General Discussion
Asked On January 23, 2008 02:09 PM UTC

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 05:52 PM UTC

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 10:53 AM UTC

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 05:42 PM UTC

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 26, 2008 12:47 AM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon