System.NullReferenceException: Changed color / freehand drawing -

Description

Happened while working with the freehand drawing. Trying to change colors. Drawing another line. Somewhere there.

Software version: 1.2.10.6-RELEASE-c2414cf0149a1475ea00520effc01b40087c225c (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2021-08-17 10:39:53 +02:00
OS: unknown (x64) 10.0 build 19042 revision 0
GDI object count: 180
User object count: 90

Exception: System.NullReferenceException
Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

Stack:
bei Greenshot.Drawing.FreehandContainer.ClickableAt(Int32 x, Int32 y)
bei Greenshot.Drawing.DrawableContainerList.ClickableElementAt(Int32 x, Int32 y)
bei Greenshot.Drawing.Surface.SurfaceMouseDown(Object sender, MouseEventArgs e)
bei System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Configuration dump:

Environment

Windows 10 Home
Version 20H2 (Build 19042.1165)
64bit

Activity

Jens KlingenAugust 22, 2021 at 3:49 PM

Thanks for reporting this.

Good news: this issue has already been resolved and will be fixed with Greenshot 1.3.

Greenshot 1.3 is not ready for final release yet, however - if you're comfortable with using an unstable release - you can download it from the Greenshot version history download page

Fixed

Details

Assignee

Reporter

Affects versions

Priority

Created August 17, 2021 at 8:43 AM
Updated August 22, 2021 at 3:50 PM
Resolved August 22, 2021 at 3:50 PM