when paste new instance in the other project (#139)
1. Create new project & new ERD
2. Add New Entity
3. Copy it to the clipboard
4. Create new project & new ERD
5. Paste data from the clipboard
6. Select "Paste a new instance of the original model element"
7. Got:
System.NullReferenceException: В экземпляре объекта не задана ссылка на объект.
в SoftwareIdeasModeler.Core.Projecting.DiagramLayer.AddItem(ConcreteDiagramItem item, Boolean isAlreadyInProject)
в SoftwareIdeasModeler.Core.Commands.AddDiagramItemsCommand.Execute()
в SoftwareIdeasModeler.Core.Projecting.CommandStack.AddCommand(Command command, Boolean execute)
в SoftwareIdeasModeler.Core.Projecting.CommandStack.Execute(Command command)
в SoftwareIdeasModeler.Core.Projecting.Project.Execute(Command cmd)
в SoftwareIdeasModeler.SimDiagramControl.InsertItems(List`1 items, PasteType type)
в SoftwareIdeasModeler.SimDiagramControl.PasteItems(List`1 items, PasteType type)
в SoftwareIdeasModeler.MdiChildrenForms.EditorForm.PasteItems(List`1 items)
в SoftwareIdeasModeler.MainForm.Paste()
в SoftwareIdeasModeler.MainForm.PasteToolStripMenuItem_Click(Object sender, EventArgs e)
в System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
в System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(Message& m, Keys keyData)
в System.Windows.Forms.ToolStripManager.ProcessShortcut(Message& m, Keys shortcut)
в System.Windows.Forms.ToolStripManager.ProcessCmdKey(Message& m, Keys keyData)
в System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
в System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
в SoftwareIdeasModeler.MainForm.ProcessCmdKey(Message& msg, Keys keyData)
в System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
в System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
в System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
в System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
в SoftwareIdeasModeler.MdiChildrenForms.EditorForm.ProcessCmdKey(Message& msg, Keys keyData)
в System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
в System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
в System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
в System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
в System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
в SoftwareIdeasModeler.SimDiagramControl.ProcessCmdKey(Message& msg, Keys keyData)
в System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
в System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
в System.Windows.Forms.Control.PreProcessMessage(Message& msg)
в System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
в System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)