Current filter:
                                You should refresh the page.
                                  • [DevExpress Support Team: CLONED FROM T806131: How to perform asynchronous operations in XAF WinForms apps using the IObjectSpaceAsync interface]

                                    Demo is good. Did scenario 3 then went back to Position List view and got an ObjectDisposedException. Can't leave the position list view, will end up having to terminate the process.

                                    Cannot access a disposed object.
                                    Object name: 'DevExpress.ExpressApp.Xpo.XPObjectSpace'.

                                       at DevExpress.ExpressApp.BaseObjectSpace.CheckIsDisposed()
                                       at DevExpress.ExpressApp.Xpo.XPObjectSpace.GetKeyValueAsString(Object obj)
                                       at DevExpress.ExpressApp.ObjectView.CreateShortcutCore()
                                       at DevExpress.ExpressApp.ListView.CreateShortcutCore()
                                       at DevExpress.ExpressApp.View.CreateShortcut()
                                       at DevExpress.ExpressApp.SystemModule.ViewNavigationController.UpdateShortcutScrollPosition()
                                       at DevExpress.ExpressApp.SystemModule.ViewNavigationController.window_ViewChanging(Object sender, ViewChangingEventArgs e)
                                       at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
                                       at DevExpress.ExpressApp.Frame.OnViewChanging(View view, Frame sourceFrame, ViewChangingEventArgs args)
                                       at DevExpress.ExpressApp.Win.WinWindow.OnViewChanging(View view, Frame sourceFrame, ViewChangingEventArgs args)
                                       at DevExpress.ExpressApp.Frame.SetView(View view, Boolean updateControllers, Frame sourceFrame, Boolean disposeOldView)

                                • Alex Gn (DevExpress) 08.22.2019

                                  Hello Nate,
                                  I have tried to reproduce this behavior, but my attempt was unsuccessful. See the video attached. Would you describe steps to reproduce it in greater detail?

                                • Nate Laff 08.22.2019

                                  Hi, sorry I don't have more specifics. I followed the instructions for scenarios 1 2 and 3 in that post, then poked around a little more and eventually hit this. Couldn't change views, couldn't refresh, couldn't cancel. Nothing I did would allow me to proceed.

                                • Gosha (DevExpress Support) 08.23.2019

                                  Hi Nate,

                                  I played around for some time with our demo from the How to perform asynchronous operations in XAF WinForms apps using the IObjectSpaceAsync interface article, but could not reproduce this issue. Would you please clarify if you can stably reproduce this exception on your side? If so, please capture a screencast to illustrate what steps you perform.

                                • Manuel Grundner [DevExpress MVP] 08.25.2019

                                  I did reprocude it, but have no idea how. Did a little bit 'stress testing' with refreshing and swiching views. But I cannot stable reproduce it. But I think it's a bug in the demo source code not in XAF source it self

                                • Uriah (DevExpress Support) 08.26.2019

                                  Thank you for the additional information Manuel. We will let you know if we have any news about this issue.

                                1 Solution

                                Creation Date Importance Sort by

                                Hi,

                                We updated our project in the How to perform asynchronous operations in XAF WinForms apps using the IObjectSpaceAsync interface article to avoid this issue. Feel free to test the new version.