I recently Updated the software to v12.47 when adding an attribute text to the information item, this error occurred:
System.NullReferenceException: Object reference not set to an instance of an object.
at SoftwareIdeasModeler.Core.DiagramItems.Fields.AttributeField.ClearStereotypes()
at SoftwareIdeasModeler.Core.DiagramItems.Fields.AttributeField.ParseAttributeIn(Project project, AttributeField attribute, String text)
at SoftwareIdeasModeler.Core.DiagramItems.Fields.ConcreteField.ParseIn(Project project, IConcreteDiagramElement owner, String definition, BasicMemento& dependantChangeMemento)
at SoftwareIdeasModeler.Core.Projecting.DiagramNavigableField.ParseIn(Project project, String definition, BasicMemento& dependantChangeMemento)
at SoftwareIdeasModeler.Core.Projecting.ModelElement.SetField(DiagramNavigableField field, String newValue, BasicMemento& dependantChangeMemento)
at SoftwareIdeasModeler.Core.Projecting.ConcreteDiagramElement.SetField(DiagramNavigableField field, String newValue, BasicMemento& dependantChangeMemento)
at SoftwareIdeasModeler.Core.Commands.BaseCommands.ChangeTrackedCommand.Execute()
at SoftwareIdeas.Common.Commands.CommandStack.AddCommand(Command command, Boolean execute)
at SoftwareIdeas.Common.Commands.CommandStack.Execute(Command command)
at SoftwareIdeasModeler.Core.Projecting.Project.Execute(Command cmd)
at SoftwareIdeasModeler.SimDiagramControl.ConfirmEditing(Boolean editNext)
at SoftwareIdeasModeler.SimDiagramControl.canvas_MouseDown(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
OF=SoftwareIdeasModeler.MainForm
NoCmds
Reply To: Updated to newer sub-version
I recently Updated the software to v12.47 when adding an attribute text to the information item, this error occurred:
System.NullReferenceException: Object reference not set to an instance of an object.
at SoftwareIdeasModeler.Core.DiagramItems.Fields.AttributeField.ClearStereotypes()
at SoftwareIdeasModeler.Core.DiagramItems.Fields.AttributeField.ParseAttributeIn(Project project, AttributeField attribute, String text)
at SoftwareIdeasModeler.Core.DiagramItems.Fields.ConcreteField.ParseIn(Project project, IConcreteDiagramElement owner, String definition, BasicMemento& dependantChangeMemento)
at SoftwareIdeasModeler.Core.Projecting.DiagramNavigableField.ParseIn(Project project, String definition, BasicMemento& dependantChangeMemento)
at SoftwareIdeasModeler.Core.Projecting.ModelElement.SetField(DiagramNavigableField field, String newValue, BasicMemento& dependantChangeMemento)
at SoftwareIdeasModeler.Core.Projecting.ConcreteDiagramElement.SetField(DiagramNavigableField field, String newValue, BasicMemento& dependantChangeMemento)
at SoftwareIdeasModeler.Core.Commands.BaseCommands.ChangeTrackedCommand.Execute()
at SoftwareIdeas.Common.Commands.CommandStack.AddCommand(Command command, Boolean execute)
at SoftwareIdeas.Common.Commands.CommandStack.Execute(Command command)
at SoftwareIdeasModeler.Core.Projecting.Project.Execute(Command cmd)
at SoftwareIdeasModeler.SimDiagramControl.ConfirmEditing(Boolean editNext)
at SoftwareIdeasModeler.SimDiagramControl.canvas_MouseDown(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
OF=SoftwareIdeasModeler.MainForm
NoCmds
Malcolm Swart 2 April 2020 12:55:13