Value cannot be null bug with arrow key navigation

Issue #216 resolved
Jason Carr repo owner created an issue

LaunchBox Version 5.6 beta 6 Operating System Windows 10 Operating System Architecture 64-bit Times Occurred A Few Times Issue/Error: System.ArgumentNullException: Value cannot be null. Parameter name: image at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y) at LaunchBox.Drawing.GameDetailsGui.Paint(Graphics g, Int32 yOffset, Boolean controlFocused) at LaunchBox.Controls.ImageGamesControl.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)

What were you trying to do at the time of the error? Navigating through GBA library with images selected to show on game selection.

Are you able to reproduce this issue? Seems to happen when using the arrow keys to navigate with images selected to show on game selection, hovering instead of the sidebar. I have noticed this with freshly imported screens from my personal collection.

LaunchBox Error: System.ArgumentNullException: Value cannot be null. Parameter name: image at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y) at LaunchBox.Drawing.GameDetailsGui.Paint(Graphics g, Int32 yOffset, Boolean controlFocused) at LaunchBox.Controls.ImageGamesControl.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)

Comments (2)

  1. Log in to comment