Reply To: Copy and paste problems

Hi. First I must join in to say really good work with the program!

I've got two reports about trouble with copy and past, both for UI diagrams (v 3.35, WinXP sp3).

1. If grouping a rectangle and a text and try to copy and past this object I get a SerializationException, Type SoftwareIdeasModeler.Commands.Mementos.LocationSizeMomento has not been decleared as serializable

2. If having several UI diagrams and trying to copy a window with some buttons and comments from one diagram to the other I run in to the following exception when trying to save the project:

System.NullReferenceException: Object reference not set to an instance of an object.

vid SoftwareIdeasModeler.ProjectXml.SimXmlWriter.Save(String fileName)

vid SoftwareIdeasModeler.MainForm.SaveToFile(String filename)

vid SoftwareIdeasModeler.MainForm.SaveFile()

vid SoftwareIdeasModeler.MainForm.saveToolStripMenuItem_Click(Object sender, EventArgs e)

vid System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

vid System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

vid System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

vid System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

vid System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

vid System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(Message& m, Keys keyData)

vid System.Windows.Forms.ToolStripManager.ProcessShortcut(Message& m, Keys shortcut)

vid System.Windows.Forms.ToolStripManager.ProcessCmdKey(Message& m, Keys keyData)

vid System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)

vid System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)

vid System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)

vid System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)

vid System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)

vid System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)

vid System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)

vid System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)

vid SoftwareIdeasModeler.SimDiagramControl.ProcessCmdKey(Message& msg, Keys keyData)

vid System.Windows.Forms.Control.PreProcessMessage(Message& msg)

vid System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)

vid System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

Regards,

Björn

Björn 12 July 2010 10:49:15

New Comment

Comment
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]