Reply To: Documentation editor causes crashes

I have experienced several crashes that I have narrowed down to issues in the documentation tab. I primarily use data flow diagrams and sometimes use multi-line descriptions in the documentation. I have had it crash with the following errors:

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

at SoftwareIdeasModeler.Core.TextRendering.FormattedText.SaveToXml(XmlTextWriter writer)

at SoftwareIdeasModeler.Core.Projecting.AbstractDiagramItem.SaveDocumentation(XmlTextWriter xw)

at SoftwareIdeasModeler.Core.Projecting.AbstractDiagramItem.Save(XmlTextWriter xw)

at SoftwareIdeasModeler.Core.Projecting.Diagram.SaveAbstractItems(XmlTextWriter writer)

at SoftwareIdeasModeler.Core.Projecting.Diagram.Save(SimXmlWriter sxw)

at SoftwareIdeasModeler.Core.Projecting.Model.Save(SimXmlWriter sxw)

at SoftwareIdeasModeler.ProjectXml.SimXmlWriter.SaveModels(Project project)

at SoftwareIdeasModeler.ProjectXml.SimXmlWriter.SaveProject(Project project)

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

at SoftwareIdeasModeler.MainForm.SaveToFile(String filename, Boolean isMultiFile)

at SoftwareIdeasModeler.MainForm.SaveFile()

at SoftwareIdeasModeler.MainForm.saveToolStripButton_Click(Object sender, EventArgs e)

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

at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)

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

at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

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

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

at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

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

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

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

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

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

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

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

John 11 January 2013 13:18:42

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]