Error after switching between colors

Description

I was switching from Red to Yellow color after already drow some lines. App shows report screen after I press left mouse button down on.

Software version: 1.2.9.129-RELEASE-569de711c0353860aaeb5e5ec4d272e383a101e9 (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2017-08-18 16:10:44 +03:00
OS: unknown (x64) 10.0 build 14393 revision 0
GDI object count: 158
User object count: 91

Exception: System.ArgumentNullException
Message: Value cannot be null.
Parameter name: path

Stack:
at System.Drawing.Graphics.DrawPath(Pen pen, GraphicsPath path)
at Greenshot.Drawing.FreehandContainer.Draw(Graphics graphics, RenderMode renderMode)
at Greenshot.Drawing.DrawableContainer.DrawContent(Graphics graphics, Bitmap bmp, RenderMode renderMode, Rectangle clipRectangle)
at Greenshot.Drawing.DrawableContainerList.Draw(Graphics g, Bitmap bitmap, RenderMode renderMode, Rectangle clipRectangle)
at Greenshot.Drawing.Surface.SurfacePaint(Object sender, PaintEventArgs paintEventArgs)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Configuration dump:

Environment

Win 10 x64

Activity

Show:
Robin Krom
February 11, 2020, 11:32 AM

Found the reason, will be fixed in Greenshot 1.3 which I’m now working on.

Release date not certain, could be in a couple of months.

Assignee

Unassigned

Reporter

Elijah

Affects versions

Components

Priority

Minor
Configure