Unexpected error occured

Description

When trying to capture screen from taskbar icon menu I got an exception (print screen key was ignored, and I had to restart greenshot to get rid of the behaviour)

Software version: 1.2.10.6-RELEASE-c2414cf0149a1475ea00520effc01b40087c225c (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2019-02-07 09:19:59 +01:00
OS: unknown (x64) 10.0 build 16299 revision 0
GDI object count: 180
User object count: 116

Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.

Stack:
at Greenshot.Helpers.CaptureHelper.MakeCapture()
at Greenshot.Helpers.CaptureHelper.CaptureRegion(Boolean captureMouse)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

Configuration dump:

Environment

Windows 10

Assignee

Unassigned

Reporter

Jens Odborg

Affects versions

Components

Priority

Major

Labels

None
Configure