Can't save project after modifying

Support

Hi Dusan,

I can't save my project after updating to 11.91. Here's the stack dump:

SoftwareIdeasModeler.Core.CommandProcessing.CommandException: Exception during execution the command: Save ---> System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.

Parameter name: startIndex

at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)

at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)

at SoftwareIdeasModeler.Core.CommandProcessing.ApplicationAction.Perform()

at SoftwareIdeasModeler.Core.CommandProcessing.ApplicationCommandProcessor.Execute(UnitOfWork unitOfWork, CommandDefinition commandDefinition, ActionCallback actionCallback, Object callbackTag, Boolean calledFromAnotherAction, CommandArgument[] arguments)

--- End of inner exception stack trace ---

at SoftwareIdeasModeler.Core.CommandProcessing.ApplicationCommandProcessor.Execute(UnitOfWork unitOfWork, CommandDefinition commandDefinition, ActionCallback actionCallback, Object callbackTag, Boolean calledFromAnotherAction, CommandArgument[] arguments)

at SoftwareIdeasModeler.MainForm.ribbonBar_RibbonButtonClicked(Object sender, RibbonButtonEventArgs e)

at SoftwareIdeas.Ribbon.RibbonForms.RibbonTitle.TitleRibbon_RibbonButtonClicked(Object sender, RibbonButtonEventArgs e)

at SoftwareIdeas.Ribbon.RibbonControl.RibbonButton.OnClick(EventArgs e)

at SoftwareIdeas.Ribbon.RibbonControl.RibbonItem.MouseUp(MouseEventArgs e)

at SoftwareIdeas.Ribbon.RibbonControl.RibbonBarBody.OnMouseUp(MouseEventArgs e)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.UserControl.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

OF=SoftwareIdeasModeler.MainForm

LastCmd=SoftwareIdeas.Common.Commands.CombinedCommand

3 January 2019 0:06:03 CEI

Add Comment

Dusan Rodina - softwareideas.net 3 January 2019 15:07:43

Hi,

Do you have a user interface diagram with a UI grid in your project? I identified a problem when saving an empty grid. A workaround is to add a row and a column to the grid.

It will be fixed very soon - the new version will be released on Monday at latest.

CEI 3 January 2019 16:29:38

RE:

Hi Dusan,

Yes I did have two UI grids. One of them was empty and the other only had columns. I had to make sure both had a row and column entry. Per your suggestion, that fixed the problem.