Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
345
Infragistics tries to access property of disposed object
posted

I am trying to troubleshoot an error that I cannot reproduce, but I'm hoping that I can get some clarification on part of the stack trace. Unfortunately, all I have is the screenshot because the user closed out of the dialog without copying the stack trace.

It throws an object ref error when it tries to access the RemoveAllColumnReferences property of the UltraWinCalcManager. Problem is, this object got disposed in the line previous. Any ideas why Infragistics seems to try to access the property of a disposed object?

Parents
  • 469350
    Offline posted

    Hi,

    The RemoveAllColumnReferences call is inside the Dispose Method. So this is not being called After the object has been disposed, it's being called as part of the process of disposing it.

    I took a look at the code and there is a potential null reference there. I can't see any way that the particular object in question could ever be null, but clearly it's happening in your case and needs to be accounted for.

    I'm going to forward this thread over to Infragistics Developer Support so they can write it up for developer review.

    But you should be aware that the oldest version still be updated is v9.2. So if you are using an older version than that, you will need to upgrade in order to get the fix.

Reply Children