NullReferenceException after adding a comment to a component diagram (#115)

I added a comment to my component diagram and then tried to edit the comment text. This caused an exception. "Send Report" did not work, so I'm posting the exception here.

I got the following exception:

System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

bei SoftwareIdeasModeler.Core.Projecting.ConcreteDiagramItem.set_Style(ItemStyle value)

--- Ende der internen Ausnahmestapel├╝berwachung ---

bei System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)

bei System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)

bei System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)

bei System.Activator.CreateInstance(Type type, Boolean nonPublic)

bei SoftwareIdeasModeler.DiagramTools.Tool.GetDefaultSize()

bei SoftwareIdeasModeler.MdiChildrenForms.EditorForm.ShowSmartNewLocations()

bei SoftwareIdeasModeler.MdiChildrenForms.EditorForm.ProcessCmdKey(Message& msg, Keys keyData)

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

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

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

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

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

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

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

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

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

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

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

Created
25 October 2012 23:48:30
Closed
14 November 2012 5:14:23
Requested by
Mathias Raacke
State
Solved
Version
5.61
OperatingSystem
Windows 7 x64
Solved in
5.62

Dusan Rodina - softwareideas.net 26 October 2012 4:23:05

I cannot reproduce this problem.

Do you encounter this problem regularly or it was a single case?

Anyway, I will continue to analyze this problem.

Mathias Raacke 14 November 2012 5:12:02

I did not see the problem again.

Dusan Rodina - softwareideas.net 14 November 2012 5:13:55

Thank you for your feedback.

TrackedRequestComment
Your Name:
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]