Received an Unexpected Error

Description

Software version: 1.2.8.12-RELEASE-cab854b7229994fc9e4deaccd47885df500d7e1a (64 bit)
.NET runtime version: 4.0.30319.34209+
Time: 2016-10-17 15:10:38 -07:00
OS: Windows 8.1 Enterprise (x64) 6.3 build 9600 revision 0
GDI object count: 151
User object count: 118

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

Stack:
at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)
at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle)
at Greenshot.Drawing.TextContainer.DrawText(Graphics graphics, Rectangle drawingRectange, Int32 lineThickness, Color fontColor, Boolean drawShadow, StringFormat stringFormat, String text, Font font)
at Greenshot.Drawing.TextContainer.Draw(Graphics graphics, RenderMode rm)
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 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 8.1 enterprise
Processor Intel(R) Core i5-4300U CPU @ 1.90Ghz 2.50 Ghz
8 GB Ram
64-Bit Operating System

Lenovo T440

Attachments

1

Gliffy Diagrams

Activity

Robin Krom October 18, 2016 at 7:19 PM

Should be solved with 1.2.9 for which I just build our first release candidate.
Please let me know if this https://github.com/greenshot/greenshot/releases/tag/Greenshot-RC1-1.2.9.97 solves your bug.

Fixed

Details

Assignee

Reporter

Affects versions

Priority

Labels

Created October 17, 2016 at 10:20 PM
Updated October 18, 2016 at 7:19 PM
Resolved October 18, 2016 at 7:19 PM