MaxLights
MaxLights copied to clipboard
MaxLights crashes when uploading from Web UI
Application: MaxLights.exe
CoreCLR Version: 6.0.1222.56807
.NET Version: 6.0.12
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap.LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format, BitmapData bitmapData)
at System.Drawing.Bitmap.LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format)
at MaxLifxCore.ScreenCaptureEngine.getAverageColourForArea(Rectangle rect, Boolean getNewFrame) in C:\Projects\MaxLights\MaxLifxCore\ScreenCaptureEngine.cs:line 62
at MaxLifxCore.ScreenCaptureEngine.GetColour(UInt16 x, UInt16 y, UInt16 width, UInt16 height) in C:\Projects\MaxLights\MaxLifxCore\ScreenCaptureEngine.cs:line 40
at MaxLifxCore.SignalProcessors.UshortScreenListCapture.GetHsbs(AppController controller, Light light, StringBuilder debug, List1& hues, List
1& sats, List`1& bris) in C:\Projects\MaxLights\MaxLifxCore\SignalProcessors\UshortScreenListCapture.cs:line 138
at MaxLifxCore.SignalProcessors.UshortScreenListCapture.GetLatestHsbListValues(AppController controller, Light light, String outputSocketName, StringBuilder debug) in C:\Projects\MaxLights\MaxLifxCore\SignalProcessors\UshortScreenListCapture.cs:line 84
at MaxLifxCore.SignalReceivers.Light.Process() in C:\Projects\MaxLights\MaxLifxCore\SignalReceivers\Light.cs:line 101
at MaxLifxCore.AppController.<Run>b__62_0() in C:\Projects\MaxLights\MaxLifxCore\AppController.cs:line 299
at System.Threading.Thread.StartCallback()