XML Schema Select Elements Error

1
Hello, I have imported some XML mapping objects from a project in Mendix 610.16 to a new project in Mendix 7.18.1 and am running into some errors where the 'mapping does align with the underlying schema. Details: The order of the schema elements does not match the schema'. The recommended fix of simply right clicking and selecting 'resolve by updating schema' does not seem to do anything. I have updated the XSD files to be able to select the missing element to the mapping however when I click 'Ok' after selecting the element I receive this error.  Thanks, Neil   Error Message: System.ArgumentOutOfRangeException: Index must be within the bounds of the List. Parameter name: index    at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)    at System.Collections.Generic.List`1.Insert(Int32 index, T item)    at Mendix.Modeler.Utility.ListWrapper`2.Insert(Int32 index, T item) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Utility\Collections\List\ListWrapper.cs:line 78    at Mendix.Modeler.Utility.UndoAwareList`1.Insert(Int32 index, T item) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Utility\Undo\UndoAwareList.cs:line 70    at Mendix.Modeler.Utility.UndoManager.<>c__DisplayClass43_0.<Do>b__0() in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Utility\Undo\UndoManager.cs:line 135    at Mendix.Modeler.Utility.UndoManager.TransactionDo(IUndoManagerProvider provider, String actionDescription, Func`1 action) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Utility\Undo\UndoManager.cs:line 268    at Mendix.Modeler.Integration.MappingElementGenerator.UpdateMappingElements(ElementNode elementNode, IMappingElementContainer container, IList`1 selectedPaths, Int32 checkIndex) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Integration\Mappings\MappingElementGenerator.cs:line 37    at Mendix.Modeler.Integration.MappingElementGenerator.UpdateMappingElements(ElementNode elementNode, IMappingElementContainer container, IList`1 selectedPaths, Int32 checkIndex) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Integration\Mappings\MappingElementGenerator.cs:line 63    at Mendix.Modeler.Integration.MappingElementGenerator.UpdateMappingElements(ElementNode elementNode, IMappingElementContainer container, IList`1 selectedPaths, Int32 checkIndex) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Integration\Mappings\MappingElementGenerator.cs:line 63    at Mendix.Modeler.Integration.MappingElementGenerator.UpdateMappingElements(ElementNode elementNode, IMappingElementContainer container, IList`1 selectedPaths, Int32 checkIndex) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Integration\Mappings\MappingElementGenerator.cs:line 63    at Mendix.Modeler.Integration.MappingElementGenerator.UpdateMappingElements(ElementNode elementNode, IMappingElementContainer container, IList`1 selectedPaths, Int32 checkIndex) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Integration\Mappings\MappingElementGenerator.cs:line 63    at Mendix.Modeler.Integration.MappingElementGenerator.UpdateMappingElements(ElementNode elementNode, IMappingElementContainer container, IList`1 selectedPaths, Int32 checkIndex) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Integration\Mappings\MappingElementGenerator.cs:line 63    at Mendix.Modeler.Integration.MappingElementGenerator.CreateMappingElements(ElementNode elementNode) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Integration\Mappings\MappingElementGenerator.cs:line 19    at Mendix.Modeler.Integration.View.ElementForm.OnOKPressed() in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Integration.View\Mappings\ElementForm.cs:line 374    at Mendix.Modeler.UIFramework.FormSpecUtil.FormSpecInTransaction.OnOKPressed() in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.UIFramework\Forms\FormSpecUtil.cs:line 54    at Mendix.Modeler.UIFramework.UIFrameworkForm.CommitEditAndValidate() in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.UIFramework\Forms\UIFrameworkForm.cs:line 204    at Mendix.Modeler.UIFramework.UIFrameworkForm.Commit() in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.UIFramework\Forms\UIFrameworkForm.cs:line 235    at System.Windows.Forms.Control.OnClick(EventArgs e)    at System.Windows.Forms.Button.OnClick(EventArgs e)    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)    at System.Windows.Forms.Control.WndProc(Message& m)    at System.Windows.Forms.ButtonBase.WndProc(Message& m)    at System.Windows.Forms.Button.WndProc(Message& m)    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
asked
1 answers
2

Did you try to change the order? Have you been able to figure out which elements have not been in order?

answered