System.NullReferenceException: Object reference not set to an instance of an object
at Projector.HighlighterMysql.loadWordsFromFile () [0x00000] in :0
at Projector.HighlighterMysql.getReservedWords () [0x00000] in :0
at Projector.queryBrowser.listTables () [0x00000] in :0
at (wrapper remoting-invoke-with-check) Projector.queryBrowser:listTables ()
at Projector.MdiForm.addQueryWindow (Projector.queryBrowser qb) [0x00000] in :0
at Projector.MdiForm.querysToolStripMenuItem1_Click (System.Object sender, System.EventArgs e) [0x00000] in :0
at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) [0x00000] in :0
at System.Windows.Forms.ToolStripButton.OnClick (System.EventArgs e) [0x00000] in :0
at System.Windows.Forms.ToolStripItem.HandleClick (Int32 mouse_clicks, System.EventArgs e) [0x00000] in :0
at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, ToolStripItemEventType met) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:FireEvent (System.EventArgs,System.Windows.Forms.ToolStripItemEventType)
at System.Windows.Forms.ToolStrip.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x00000] in :0
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in :0
Unhandled Exception:
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in :0
at System.Drawing.Graphics.GdipMeasureString (IntPtr graphics, System.String text, System.Drawing.Font font, System.Drawing.RectangleF& layoutRect, IntPtr stringFormat) [0x00000] in :0
at System.Drawing.Graphics.MeasureString (System.String text, System.Drawing.Font font, Int32 width, System.Drawing.StringFormat format) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Drawing.Graphics:MeasureString (string,System.Drawing.Font,int,System.Drawing.StringFormat)
at System.Windows.Forms.TextRenderer.MeasureTextInternal (IDeviceContext dc, System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags, Boolean useMeasureString) [0x00000] in :0
at System.Windows.Forms.TextRenderer.MeasureText (System.String text, System.Drawing.Font font) [0x00000] in :0
at System.Windows.Forms.ToolStripMenuItem.CalculatePreferredSize (Size constrainingSize) [0x00000] in :0
at System.Windows.Forms.ToolStripItem.GetPreferredSize (Size constrainingSize) [0x00000] in :0
at System.Windows.Forms.ToolStripDropDownMenu.OnLayout (System.Windows.Forms.LayoutEventArgs e) [0x00000] in :0
at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x00000] in :0
at System.Windows.Forms.Control.PerformLayout () [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:PerformLayout ()
at System.Windows.Forms.ToolStripItem.OnParentChanged (System.Windows.Forms.ToolStrip oldParent, System.Windows.Forms.ToolStrip newParent) [0x00000] in :0
at System.Windows.Forms.ToolStripItem.set_Parent (System.Windows.Forms.ToolStrip value) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:set_Parent (System.Windows.Forms.ToolStrip)
at System.Windows.Forms.ToolStripItemCollection.Remove (System.Windows.Forms.ToolStripItem value) [0x00000] in :0
at System.Windows.Forms.ToolStripItem.Dispose (Boolean disposing) [0x00000] in :0
at System.Windows.Forms.ToolStripDropDownItem.Dispose (Boolean disposing) [0x00000] in :0
at System.Windows.Forms.ToolStripMenuItem.Dispose (Boolean disposing) [0x00000] in :0
at System.ComponentModel.Component.Finalize () [0x00000] in :0
System.NullReferenceException: Object reference not set to an instance of an object
at Projector.HighlighterMysql.loadWordsFromFile () [0x00000] in :0
at Projector.HighlighterMysql.getReservedWords () [0x00000] in :0
at Projector.queryBrowser.listTables () [0x00000] in :0
at (wrapper remoting-invoke-with-check) Projector.queryBrowser:listTables ()
at Projector.MdiForm.addQueryWindow (Projector.queryBrowser qb) [0x00000] in :0
at Projector.MdiForm.querysToolStripMenuItem1_Click (System.Object sender, System.EventArgs e) [0x00000] in :0
at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) [0x00000] in :0
at System.Windows.Forms.ToolStripButton.OnClick (System.EventArgs e) [0x00000] in :0
at System.Windows.Forms.ToolStripItem.HandleClick (Int32 mouse_clicks, System.EventArgs e) [0x00000] in :0
at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, ToolStripItemEventType met) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:FireEvent (System.EventArgs,System.Windows.Forms.ToolStripItemEventType)
at System.Windows.Forms.ToolStrip.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x00000] in :0
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in :0
Unhandled Exception:
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in :0
at System.Drawing.Graphics.GdipMeasureString (IntPtr graphics, System.String text, System.Drawing.Font font, System.Drawing.RectangleF& layoutRect, IntPtr stringFormat) [0x00000] in :0
at System.Drawing.Graphics.MeasureString (System.String text, System.Drawing.Font font, Int32 width, System.Drawing.StringFormat format) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Drawing.Graphics:MeasureString (string,System.Drawing.Font,int,System.Drawing.StringFormat)
at System.Windows.Forms.TextRenderer.MeasureTextInternal (IDeviceContext dc, System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags, Boolean useMeasureString) [0x00000] in :0
at System.Windows.Forms.TextRenderer.MeasureText (System.String text, System.Drawing.Font font) [0x00000] in :0
at System.Windows.Forms.ToolStripMenuItem.CalculatePreferredSize (Size constrainingSize) [0x00000] in :0
at System.Windows.Forms.ToolStripItem.GetPreferredSize (Size constrainingSize) [0x00000] in :0
at System.Windows.Forms.ToolStripDropDownMenu.OnLayout (System.Windows.Forms.LayoutEventArgs e) [0x00000] in :0
at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x00000] in :0
at System.Windows.Forms.Control.PerformLayout () [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:PerformLayout ()
at System.Windows.Forms.ToolStripItem.OnParentChanged (System.Windows.Forms.ToolStrip oldParent, System.Windows.Forms.ToolStrip newParent) [0x00000] in :0
at System.Windows.Forms.ToolStripItem.set_Parent (System.Windows.Forms.ToolStrip value) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:set_Parent (System.Windows.Forms.ToolStrip)
at System.Windows.Forms.ToolStripItemCollection.Remove (System.Windows.Forms.ToolStripItem value) [0x00000] in :0
at System.Windows.Forms.ToolStripItem.Dispose (Boolean disposing) [0x00000] in :0
at System.Windows.Forms.ToolStripDropDownItem.Dispose (Boolean disposing) [0x00000] in :0
at System.Windows.Forms.ToolStripMenuItem.Dispose (Boolean disposing) [0x00000] in :0
at System.ComponentModel.Component.Finalize () [0x00000] in :0