When the XSD contains unnamed complextype then Select Elements of import mapping throws error.

0
When the XSD contains unnamed complextype then "Select Elements" of import mapping throws error. <xs:element name="autoLearnVariations" minoccurs="0"> <xs:complextype> <xs:sequence> <xs:element name="item" type="xs:string" minoccurs="0" maxoccurs="unbounded"/> </xs:sequence> </xs:complextype> </xs:element>
asked
1 answers
0

The system error Mendix throws at compile time: 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.List1.Insert(Int32 index, T item) at Mendix.Modeler.Utility.ListWrapper2.Insert(Int32 index, T item) in C:\jenkins\workspace\Modeler-Build\Mendix.Modeler.Utility\Collections\List\ListWrapper.cs:line 78 at Mendix.Modeler.Utility.UndoAwareList1.Insert(Int32 index, T item) in C:\jenkins\workspace\Modeler-Build\Mendix.Modeler.Utility\Undo\UndoAwareList.cs:line 70 at Mendix.Modeler.Utility.UndoManager.<>c__DisplayClass43_0.<Do>b__0() in C:\jenkins\workspace\Modeler-Build\Mendix.Modeler.Utility\Undo\UndoManager.cs:line 135 at Mendix.Modeler.Utility.UndoManager.TransactionDo(IUndoManagerProvider provider, String actionDescription, Func1 action) in C:\jenkins\workspace\Modeler-Build\Mendix.Modeler.Utility\Undo\UndoManager.cs:line 268 at Mendix.Modeler.Integration.MappingElementGenerator.UpdateMappingElements(ElementNode elementNode, IMappingElementContainer container, IList1 selectedPaths, Int32 checkIndex) in C:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\Mappings\MappingElementGenerator.cs:line 36 at Mendix.Modeler.Integration.MappingElementGenerator.UpdateMappingElements(ElementNode elementNode, IMappingElementContainer container, IList1 selectedPaths, Int32 checkIndex) in C:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\Mappings\MappingElementGenerator.cs:line 56 at Mendix.Modeler.Integration.MappingElementGenerator.UpdateMappingElements(ElementNode elementNode, IMappingElementContainer container, IList1 selectedPaths, Int32 checkIndex) in C:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\Mappings\MappingElementGenerator.cs:line 56 at Mendix.Modeler.Integration.MappingElementGenerator.UpdateMappingElements(ElementNode elementNode, IMappingElementContainer container, IList1 selectedPaths, Int32 checkIndex) in C:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\Mappings\MappingElementGenerator.cs:line 56 at Mendix.Modeler.Integration.MappingElementGenerator.CreateMappingElements(ElementNode elementNode) in C:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\Mappings\MappingElementGenerator.cs:line 19 at Mendix.Modeler.Integration.View.ElementForm.CommitChanges() in C:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration.View\Mappings\ElementForm.cs:line 402 at Mendix.Modeler.Integration.View.ElementForm.btnOK_Click(Object sender, EventArgs e) in C:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration.View\Mappings\ElementForm.cs:line 386 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)

answered