Reply To: Entity relationship diagram crash

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

at SoftwareIdeasModeler.Core.MetaModel.MetaModel.GetIDInFormat(String format, Int32 number)

at SoftwareIdeasModeler.Core.MetaModel.MetaModel.GetDefaultID(String itemTypeName, Int32 id)

at SoftwareIdeasModeler.Core.Projecting.Project.GetDefaultCustomID(AbstractDiagramItem item)

at SoftwareIdeasModeler.Core.Projecting.AbstractDiagramItem.SetDefaultCustomID(Project project)

at SoftwareIdeasModeler.Core.Projecting.AbstractDiagramItem..ctor(Project project, String name)

at SoftwareIdeasModeler.Core.DiagramItems.ErdItems.ErdRelation..ctor(Project project, String name)

at SoftwareIdeasModeler.DiagramTools.ErdTools.ErdRelationTool.CreateRelationship()

at SoftwareIdeasModeler.DiagramTools.BaseTools.RelationTool.MouseDown(EnhancedMouseEventArgs e)

at SoftwareIdeasModeler.SimDiagramControl.SimDiagramControl_MouseDown(Object sender, MouseEventArgs e)

at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)

at System.Windows.Forms.UserControl.OnMouseDown(MouseEventArgs e)

at System.Windows.Forms.Control.WmMouseDown(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.ContainerControl.WndProc(Message& m)

at System.Windows.Forms.UserControl.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)

Sergey 7 October 2010 13:47:33

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]