Ticket T293147
Visible to All Users

KeyNotFoundException is raised on closing an application after upgrading to v15.1.7

created 9 years ago (modified 9 years ago)

Today I upgraded to version 2015.1.7 and now when I try to run project I get "KeynotFound" exception with following stack trace…

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at DevExpress.Xpf.Core.ContainerLocker.UnlockContainer(WindowContainer container)
   at DevExpress.Xpf.Core.ContainerLocker.<>c__DisplayClass2.<Release>b__0()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Previously(i.e. 2015.1.6 binaries) my project was working without any exception or problem. As call stack is not giving much info, I'm clueless where the problem is. Is there any suggestion you can provide to detect the problem area?

will appreciate if you can revert back quickly on this. I'm stuck now as I'm not able to run application.

EDIT
I revert back to version 2015.1.6 binaries and projects start working again. So problem is surely related to upgrade only.

Regards,
Krunal

Show previous comments (3)
Andrey Marten (DevExpress Support) 9 years ago

    Hello Krunal,

    I found a ticket where another customer describes a similar issue. He uses the LoadingDecorator in his project, and it seems that the issue is connected to it. We have fixed this behavior in that thread, but it is marked Private, and you will not have access to it. Since the issue is fixed in our controls, I think you can upgrade your components using the latest hotfix for v15.1.7, which includes the fix for that issue as well. Please try upgrading your components by using the installer from the following link and check whether the problem persists: DevExpressComponents-15.1.7.15281.exe. Please let me know your results.

    Thanks,
    Andrey

      In my project also I have used LoadingDecorator and after applying this fix my project works properly in 15.1.7. So it seems you have identified the issue and fixed it. Good job!!!

      Andrey Marten (DevExpress Support) 9 years ago

        I'm happy to hear that, Krunal! Thank you for informing us of your results.
        I've posted my comment as an Answer to allow other customers to find it more easily.
        Please do not hesitate to contact us if you have other questions.

        Andrey

        Answers approved by DevExpress Support

        created 9 years ago

        Hello Krunal,

        I found a ticket where another customer describes a similar issue. He uses the LoadingDecorator in his project, and it seems that the issue is connected to it. We have fixed this behavior in that thread, but it is marked Private, and you will not have access to it. Since the issue is fixed in our controls, I think you can upgrade your components using the latest hotfix for v15.1.7, which includes the fix for that issue as well. Please try upgrading your components by using the installer from the following link and check whether the problem persists: DevExpressComponents-15.1.7.15281.exe. Please let me know your results.

        Thanks,
        Andrey

          Show previous comments (1)
          Andrey Marten (DevExpress Support) 9 years ago

            Hello,

            This issue is not listed there, since it was fixed in a private thread. I can assure you that the hotfix I referred to in my Answer above is included in v15.1.8 as well. If you are still getting this exception, please create a separate thread with a detailed description of your current implementation. This will help us find the cause of the issue and suggest a more suitable solution.

            Thanks,
            Andrey

              Perfect -thanks Andrey!

              Andrey Marten (DevExpress Support) 9 years ago

                You are welcome!
                Andrey

                Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

                Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.