System.InvalidOperationException: Exception occurs while activating the 'Xafari.Arms.Win.Controllers.ShowNavigationPermissionItemController' controller: Unable to cast object of type 'DevExpress.ExpressApp.Model.NodeWrappers.ModelChoiceActionItemInternal' to type 'DevExpress.ExpressApp.Model.Core.ModelNode'. ---> System.InvalidCastException: Unable to cast object of type 'DevExpress.ExpressApp.Model.NodeWrappers.ModelChoiceActionItemInternal' to type 'DevExpress.ExpressApp.Model.Core.ModelNode'. at Xafari.Arms.Win.Controllers.ShowNavigationPermissionItemController.GetIdPath(ChoiceActionItem сhoiceActionItem) at Xafari.Arms.Win.Controllers.ShowNavigationPermissionItemController.HasRights(ChoiceActionItem item, IModelViews views) at DevExpress.ExpressApp.SystemModule.ShowNavigationItemController.SynchItemWithSecurity(ChoiceActionItem item) at DevExpress.ExpressApp.SystemModule.ShowNavigationItemController.SynchItemsWithSecurity(ChoiceActionItemCollection items) at DevExpress.ExpressApp.SystemModule.ShowNavigationItemController.SynchItemsWithSecurity(ChoiceActionItemCollection items) at DevExpress.ExpressApp.SystemModule.ShowNavigationItemController.SynchItemsWithSecurity(ChoiceActionItemCollection items) at DevExpress.ExpressApp.SystemModule.ShowNavigationItemController.SynchItemsWithSecurity(ChoiceActionItemCollection items) at DevExpress.ExpressApp.SystemModule.ShowNavigationItemController.SynchronizeItemsWithSecurity() at DevExpress.ExpressApp.SystemModule.ShowNavigationItemController.InitializeItems() at DevExpress.ExpressApp.SystemModule.ShowNavigationItemController.OnActivated() at Xafari.Arms.Win.Controllers.ShowNavigationPermissionItemController.OnActivated() at DevExpress.ExpressApp.Controller.activeList_ResultValueChanged(Object sender, BoolValueChangedEventArgs e) at DevExpress.ExpressApp.Utils.BoolList.OnResultValueChanged(Boolean oldResultValue, Boolean resultValue) at DevExpress.ExpressApp.Utils.BoolList.EndUpdate() at DevExpress.ExpressApp.WindowController.SetWindow(Window newWindow) at DevExpress.ExpressApp.Window.ActivateControllers() --- End of inner exception stack trace --- at DevExpress.ExpressApp.Window.ActivateControllers() at DevExpress.ExpressApp.Window..ctor(XafApplication application, TemplateContext context, ICollection`1 controllers, Boolean isMain, Boolean activateControllersImmediatelly) at DevExpress.ExpressApp.Win.WinWindow..ctor(XafApplication application, TemplateContext context, ICollection`1 controllers, Boolean isMain, Boolean activateControllersImmediatelly) at DevExpress.ExpressApp.Win.WinApplication.CreateWindowCore(TemplateContext context, ICollection`1 controllers, Boolean isMain, Boolean activateControllersImmediatelly) at DevExpress.ExpressApp.XafApplication.CreateWindow(TemplateContext context, ICollection`1 controllers, Boolean createAllControllers, Boolean isMain) at DevExpress.ExpressApp.XafApplication.CreateWindow(TemplateContext context, ICollection`1 controllers, Boolean isMain) at DevExpress.ExpressApp.Win.WinShowViewStrategyBase.CreateWindow(ShowViewParameters parameters, ShowViewSource showViewSource, Boolean isMain) at DevExpress.ExpressApp.Win.WinShowViewStrategyBase.CreateExplorerWindow(ShowViewParameters parameters) at DevExpress.ExpressApp.Win.WinShowViewStrategyBase.ShowStartupWindowCore() at DevExpress.ExpressApp.Win.WinShowViewStrategyBase.ShowStartupWindow() at DevExpress.ExpressApp.Win.WinApplication.ShowStartupWindow() at DevExpress.ExpressApp.Win.WinApplication.Start()
Replies
User
Description
Posted On
Sasha (Xafari Support)Client
Hello Lars,
Could you please provide us with more information on when this error appears?
Regards, Sasha.
Lars Platzdasch
Can some one get us a hint to this error?
Sasha (Xafari Support)Client
Hi, Please give us a steps for reproduce this issue or send a simple sample where this issue is reproducible.
Unfortunately the provided information is insufficient to find a cause of this issue.
Dear Nikolay, have also a Release for DX 14.2.7? Regards Lars
Lars Platzdasch
Btw, Nicolay,
is it the normal Time for a BugFix that i need to expect in future or is this a un-normal Time 1 Month?
Your Answer is a base for Buy or Not Buy your Products.
Yury GermanClient
Hi Lars
There are some points about your question:
1. In fact, your issue was localized on March 30 and it was completely solved on April 2. We have done Xafari build on April 6 and it had been completely tested and released on April 9. But unfortunately we haven’t reported to you about our fix at the time. I apologize for our fault. 2. Unfortunately localization took a long time. An example would help make it more faster. 3. Our customers who have purchased licenses have precedence in their service requests. 4. Generally our schedule – releasing Xafari builds once a month. But of course it depends on situation. And it is possible to make builds on customers’ requests.
Feel free to contact us for any further questions.
Yury GermanClient
About DX 14.2.7:
We are going to release Xafari 14.2.707.* on DevExpress 14.2.7 up to 30 April 2015