There are dependency relationships in my class diagram and this exception is thrown when I try to export the diagram to UMI:
System.NullReferenceException: Object reference not set to an instance of an object.
at SoftwareIdeasModeler.Core.Exporting.Xmi.XmiExporter21.WriteDependency(XmlTextWriter xw, UmlDependency umlDependency)
at SoftwareIdeasModeler.Core.Exporting.Xmi.XmiExporter21.WriteElement(XmlTextWriter xw, AbstractDiagramItem elem)
at SoftwareIdeasModeler.Core.Exporting.Xmi.XmiExporter21.WriteModel(XmlTextWriter xw, Model model)
at SoftwareIdeasModeler.Core.Exporting.Xmi.XmiExporter21.WriteModels(XmlTextWriter xw, List`1 models)
at SoftwareIdeasModeler.Core.Exporting.Xmi.XmiExporter21.ExportToFile(String filename)
at SoftwareIdeasModeler.MainForm.xmiToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.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.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(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)
And while you are at it, would you please swap the place of Export and Import menu items as the current placement is not usual and is quite prone to mis-clicks.
Dusan Rodina - softwareideas.net
8 February 2011 22:55:32
RE: 4.88 crashes on launch
Software Ideas Modeler is tested in two ways:
1) Unit tests
- there is also a big number of projects which are tested for loading and saving.
2) Manual tests
I always add new automated tests and define new test cases. However, sometimes a bug appears, which pass through all tests.
I wouldn't deploy it without proper testing.
The truth is also that there is no testing department, because it cannot be paid for. Current total monthly income for the software is less than 15 % of average monthly salary of the programmer.
To the bug:
Please, try the latest version 4.88b, it was released few hours after 4.88 and within one hour after the bug was reported in previous comment.
This bug was caused by specific system settings, that's why it passed through all tests.
If this doesn't solve your problem, feel free to contact me again.
My goal is to continuously improve the quality of Software Ideas Modeler.
Dusan Rodina - softwareideas.net
7 February 2011 8:44:46
RE: RE: RE: Error when open project
Hi,
thank you for the report. Try version 4.88b, which I've released a while ago. Problem was caused by different system local settings, that's why the version passed all unit tests.
deathline 14 February 2011 14:14:40
Item definition problem
deathline 14 February 2011 14:15:51
RE: Item definition problem
Dusan Rodina - softwareideas.net 20 February 2011 23:13:01
RE: RE: Item definition problem
21 February 2011 13:49:03
RE: RE: RE: Item definition problem
Dusan Rodina - softwareideas.net 21 February 2011 20:20:14
RE: RE: RE: RE: Item definition problem
Dusan Rodina - softwareideas.net 11 March 2011 0:35:16
RE: RE: RE: RE: RE: Item definition problem
Tomas Sandkvist 10 February 2011 15:15:51
Code for C# enumerator is not correct
Dusan Rodina - softwareideas.net 10 February 2011 15:59:54
RE: Code for C# enumerator is not correct
Tomas Sandkvist 10 February 2011 16:32:10
RE: RE: Code for C# enumerator is not correct
Mehrdad 10 February 2011 12:00:56
NullReferenceException while exporting to UMI
Dusan Rodina - softwareideas.net 20 February 2011 23:13:53
RE: NullReferenceException while exporting to UMI
Tomas Sandkvist 9 February 2011 12:44:17
Bug when editing diagram name
Dusan Rodina - softwareideas.net 9 February 2011 17:03:26
RE: Bug when editing diagram name
Dusan Rodina - softwareideas.net 20 February 2011 23:14:21
RE: RE: Bug when editing diagram name
Matt 8 February 2011 21:41:30
4.88 crashes on launch
Dusan Rodina - softwareideas.net 8 February 2011 22:55:32
RE: 4.88 crashes on launch
Tomas Sandkvist 7 February 2011 8:26:01
Error when open project
Tomas Sandkvist 7 February 2011 8:27:04
RE: Error when open project
Tomas Sandkvist 7 February 2011 8:29:24
RE: RE: Error when open project
Dusan Rodina - softwareideas.net 7 February 2011 8:44:46
RE: RE: RE: Error when open project