Opened 13 years ago
Closed 13 years ago
#1749 closed defect (fixed)
Adding image to Symbol Definition gets error
Reported by: | andrewd | Owned by: | jng |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Maestro | Version: | 2.1.0 |
Severity: | minor | Keywords: | |
Cc: | External ID: |
Description
Create a new symbol definition. In the editor, under "Graphics", add an image and you will get the following:
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Maestro.Editors.SymbolDefinition.GraphicsEditors.ImageDialog..ctor(EditorBindableCollapsiblePanel parent, ISimpleSymbolDefinition ssd, IImageGraphic image) in d:\Workspace\maestro-3.0\Maestro.Editors\SymbolDefinition\GraphicsEditors\ImageDialog.cs:line 55 at Maestro.Editors.SymbolDefinition.SymbolGraphicsCtrl.imageToolStripMenuItem_Click(Object sender, EventArgs e) in d:\Workspace\maestro-3.0\Maestro.Editors\SymbolDefinition\SymbolGraphicsCtrl.cs:line 103 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.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.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.ScrollableControl.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.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)
Fixed r6004