Errors after deleting page elements in Mendix Studio Pro.

0
I get the following error when trying to delete input fields inside Studio Pro 10.18.1. Structure mode and design mode become unresponsive afterwards, not allowing me to change anything and not being able to save my changes. The only way to continue my work is to restart Mendix.    System.InvalidOperationException: Sequence contains no elements   at System.Linq.ThrowHelper.ThrowNoElementsException()   at System.Linq.Enumerable.Aggregate[TSource](IEnumerable`1 source, Func`3 func)   at Mendix.Modeler.WebUI.View.Windows.StructureMode.StructureModeEditor.CenterOnSelection() in Mendix.Modeler.WebUI.View.Windows\StructureMode\StructureModeEditor.cs:line 292   at Mendix.Modeler.WebUI.View.Editors.FormEditor.OpenStructureMode(Boolean isInitialLoad) in Mendix.Modeler.WebUI.View\Editors\FormEditor.cs:line 274   at Mendix.Modeler.WebUI.View.Editors.FormEditor.Mendix.Modeler.WebUI.View.Editors.IFormEditor.OpenStructureMode() in Mendix.Modeler.WebUI.View\Editors\FormEditor.cs:line 247   at Mendix.Modeler.WebUI.View.Editors.DesignMode.WebFormEditor.OnBrowserMessage(Object sender, WebBrowserMessageEventArgs args) in Mendix.Modeler.WebUI.View\Editors\DesignMode\WebFormEditor.cs:line 445   at Mendix.Modeler.Controls.WebBrowser.WebBrowser.OnMessage(WebBrowserMessageEventArgs args) in Mendix.Modeler.Controls\WebBrowser\WebBrowser.cs:line 74   at Mendix.Modeler.WebEditors.WebEditorControl.OnMessage(WebBrowserMessageEventArgs args) in Mendix.Modeler.WebEditors\Control\WebEditorControl.cs:line 103   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)  
asked
2 answers
0

I have a fresh install of 10.18.1 and it doesn't have the Dropdown container widget. Perhaps it's outdated, or it's deprecated in 10.18? Try updating or replacing it

answered
0

We probably need some more context information:

- Are you working in Structure mode or Design mode?

- What widgets are on the page?

- Are the widgets you are deleting inside a listview, gallery, or other type of data view?

- Do you have a domain model with inheritance that you are using here?

- Are you using custom widgets?

answered