NullReferenceException: Greenshot.Drawing.RectangleContainer.Draw


Software version: (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2018-04-06 17:20:26 +02:00
OS: unknown (x64) 10.0 build 16299 revision 0
GDI object count: 226
User object count: 173

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

at Greenshot.Drawing.RectangleContainer.Draw(Graphics graphics, RenderMode rm)
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 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:


Win 10 Ent x64, fully updated


Robin Krom
April 6, 2018, 8:07 PM

Good question, there should be "Network and updates" on that tab.
Maybe you didn't install it, and it's disabled by your admin?

- -
April 6, 2018, 8:09 PM

I installed there a setting that hides that?

Robin Krom
April 6, 2018, 8:32 PM

I don't recall right now if it can be hidden, but I am sure an admin can disable it (being greyed out).

Very weird, there should be settings for the update check!

- -
April 6, 2018, 8:35 PM

it is not greyed out, it is just not there...

Robin Krom
April 6, 2018, 8:39 PM

There it is!!! At the bottom, the "Update check interval"... is set to 14 days.
Yeah, not the best UI, I am working on a new configuration "as we speak".

Maybe you clicked the update away, over a year ago, or maybe Greenshot can't "phone home" somehow.

Anyway, make the update




- -

Affects versions