NullReferenceException when pressing ESC while dragging (#398)


we evaluate Software Ideas Modeler for our company.

I will submit bug reports for problems we encounter.

Some parts of the error messages are in German (I think because of .NET on a German Windows machine).

BUG: NullReferenceException when pressing ESC while dragging

Steps to reproduce:

1) Drag a shape (for example Start symbol of a flow chart)

2) Press ESC key on the keyboard while dragging (while holding the left mouse key down)

3) Release mouse key

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

bei SoftwareIdeasModeler.DiagramTools.SelectionTool.ConnectWithElement(EnhancedMouseEventArgs e, SimDiagramControl control)

bei SoftwareIdeasModeler.DiagramTools.SelectionTool.ChangeBounds(EnhancedMouseEventArgs e, Boolean finalPosition)

bei SoftwareIdeasModeler.DiagramTools.SelectionTool.MouseUp(EnhancedMouseEventArgs e)

bei SoftwareIdeasModeler.SimDiagramControl.canvas_MouseUp(Object sender, MouseEventArgs e)

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

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

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

14 January 2015 10:00:28
20 January 2015 23:42:54
Requested by
8.00.5489.41649 (64-bit)
Windows 7 Prof. SP1 (64-bit)
Solved in

Dusan Rodina - 14 January 2015 11:02:10


thank you for your feedback! Bugs will be fixed as soon as possible.

Daniel 20 January 2015 8:27:39

Hi, I have a question concerning this bug:

I often use the ESC key in other programs to abort the current mouse operation (dragging, resizing etc.). Because of that I stumbled upon this bug. Is the ESC key used in SIM for abort?

Dusan Rodina - 20 January 2015 13:24:09

Hi, currently ESC for cancelling an action is not implemented, but it will change in the next release.

Daniel 20 January 2015 15:48:09

Adding this functionality will be a great addition.

Thank you for the fast response.

I really am impressed with SIM so far, keep up the good work!

Dusan Rodina - 21 January 2015 0:02:22

Thank you for your positive evaluation!

The bug fixed and ESC functionality added in version 8.10.

Your Name:
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url][/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]