Open Model Designer DetailView Layout Exception | Galaktikasoft

Open Model Designer DetailView Layout Exception

StatusIDPriorityType
Closed28084MajorBug
ProfileReply
ScottClient

With Model Design Opened in VisualStudio Or at Runtime, We get an exception using Xafari Property Editors. It also prevents the generation of the Layout Node after the exception hits. Seems like collection Properties are generated. changing all property editors on the View.Items to DevExpress seems to fix.
We have a Date and Enum Editor on the Detail View.

Here is the trace from VS popup error Window:
Object reference not set to an instance of an object.

at Xafari.Editors.Win.XafariLookupEditor.CreateControlCore()
at DevExpress.ExpressApp.Editors.ViewItem.CreateControl()
at DevExpress.ExpressApp.Win.Layout.WinLayoutManager.controlItem_QueryControl(Object sender, QueryControlEventArgs e)
at DevExpress.ExpressApp.Win.Layout.XafLayoutControlItem.RaiseQueryControl()
at DevExpress.ExpressApp.Win.Layout.XafLayoutControlItem.RaiseShowHide(Boolean visible)
at DevExpress.XtraLayout.BaseLayoutItem.SetVisible(Boolean lVisible)
at DevExpress.XtraLayout.BaseLayoutItem.UpdateChildren(Boolean visible)
at DevExpress.XtraLayout.LayoutControlItem.UpdateChildren(Boolean visible)
at DevExpress.XtraLayout.LayoutGroup.UpdateChild(BaseLayoutItem item, Boolean visible)
at DevExpress.XtraLayout.LayoutGroup.UpdateChildren(Boolean visible)
at DevExpress.XtraLayout.LayoutGroup.UpdateChild(BaseLayoutItem item, Boolean visible)
at DevExpress.XtraLayout.LayoutGroup.UpdateChildren(Boolean visible)
at DevExpress.XtraLayout.LayoutGroup.UpdateChild(BaseLayoutItem item, Boolean visible)
at DevExpress.XtraLayout.LayoutGroup.UpdateChildren(Boolean visible)
at DevExpress.XtraLayout.LayoutGroup.UpdateChild(BaseLayoutItem item, Boolean visible)
at DevExpress.XtraLayout.LayoutGroup.UpdateChildren(Boolean visible)
at DevExpress.XtraLayout.LayoutGroup.UpdateChild(BaseLayoutItem item, Boolean visible)
at DevExpress.XtraLayout.LayoutGroup.UpdateChildren(Boolean visible)
at DevExpress.XtraLayout.LayoutControlImplementor.UpdateRoot()
at DevExpress.XtraLayout.LayoutControlImplementor.InvalidateRootOffsetControlsAndScrolls()
at DevExpress.XtraLayout.LayoutControlImplementor.Invalidate()
at DevExpress.XtraLayout.LayoutControl.DevExpress.XtraLayout.ILayoutControl.Invalidate()
at DevExpress.XtraLayout.BaseLayoutItem.Invalidate()
at DevExpress.XtraLayout.LayoutGroup.Invalidate()
at DevExpress.XtraLayout.BaseLayoutItem.ComplexUpdate(Boolean shouldUpdateViewInfo, Boolean shouldResize, Boolean shouldArrangeTextSize)
at DevExpress.XtraLayout.LayoutItemContainer.EndUpdate()
at DevExpress.XtraLayout.LayoutItemContainer.EndChangeUpdate()
at DevExpress.XtraLayout.LayoutDesignerMethodsProvider.DevExpress.XtraLayout.ILayoutDesignerMethods.EndChangeUpdate()
at DevExpress.XtraLayout.LayoutControlImplementor.ProcessLookAndFeelStyleChanged()
at DevExpress.XtraLayout.LayoutControlImplementor.OnLookAndFeelStyleChanged(Object sender, EventArgs e)
at DevExpress.XtraLayout.LayoutControlImplementor.EndInitCore()
at DevExpress.XtraLayout.LayoutControlImplementor.set_UpdatedCount(Int32 value)
at DevExpress.XtraLayout.LayoutControlImplementor.EndInit()
at DevExpress.XtraLayout.LayoutControl.EndInit()
at DevExpress.ExpressApp.Win.Layout.WinLayoutManager.LayoutControls(IModelNode layoutNode, ViewItemsCollection viewItems)
at DevExpress.ExpressApp.Win.Core.ModelEditor.ModelEditorControllers.ModelEditorLayoutManagerProvider.InitializeLayout(ModelNode node, Boolean readOnly, Boolean isWinLayout)
at DevExpress.ExpressApp.Win.Core.ModelEditor.ModelEditorControllers.ModelEditorLayoutManagerProvider..ctor(ModelNode node, Boolean readOnly, Boolean isWinLayout)
at DevExpress.ExpressApp.Win.Core.ModelEditor.ModelEditorControl.ShowDetailViewLayout(ModelNode node, Boolean readOnly)
at DevExpress.ExpressApp.Win.Core.ModelEditor.ModelEditorControl.ShowLayoutIfNeed(ModelNode node, Boolean readOnly)
at DevExpress.ExpressApp.Win.Core.ModelEditor.ModelEditorViewController.set_CurrentModelNode(ModelTreeListNode value)
at DevExpress.ExpressApp.Win.Core.ModelEditor.ModelEditorViewController.ModelEditorControl_SelectedNodesChanged(Object sender, EventArgs e)
at DevExpress.ExpressApp.Win.Core.ModelEditor.HandlerWrapper.SafeExceute(Object obj, EventArgs e)

Replies

UserDescriptionPosted On
Sasha (Xafari Support)Agent

Hello Scott,

Thanks for reporting the issue.
We found the bug and we are going to fix this issue in new Xafari version.

Best regards,
Sasha.

Scott

At least I'm not crazy! Thank you.

Sasha (Xafari Support)Agent

Hi,

This issue solved for Xafari x11. Please inform us, can you wait for the release Xafari x11 version or solution this question important for you in Xafari x10?

Best regards,
Sasha.

Sasha (Xafari Support)Agent

Hello,

You can download new Xafari Framework x011.

Feel free to contact us if you have any questions.
We will be happy to help you.
Best regards,
Sasha.

× This ticket is closed.