w-flo / Foreman

Fork of Foreman for Factorio by Nicksaurus: https://bitbucket.org/Nicksaurus/foreman
4 stars 2 forks source link

Crashes when you want to make a flow over science packs. #2

Closed itayo closed 6 years ago

itayo commented 8 years ago

ystem.ArgumentNullException: Argument cannot be null. Parameter name: image at System.Drawing.Graphics.DrawImage (System.Drawing.Image image, Int32 x, Int32 y, Int32 width, Int32 height) [0x00000] in :0 at (wrapper remoting-invoke-with-check) System.Drawing.Graphics:DrawImage (System.Drawing.Image,int,int,int,int) at Foreman.ItemTab.Paint (System.Drawing.Graphics graphics) [0x00000] in :0 at Foreman.GraphElement.Paint (System.Drawing.Graphics graphics) [0x00000] in :0 at Foreman.NodeElement.Paint (System.Drawing.Graphics graphics) [0x00000] in :0 at Foreman.ProductionGraphViewer.Paint (System.Drawing.Graphics graphics) [0x00000] in :0 at Foreman.ProductionGraphViewer.OnPaint (System.Windows.Forms.PaintEventArgs e) [0x00000] in :0 at System.Windows.Forms.Control.WmPaint (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.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in :0 at System.Windows.Forms.UserControl.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