Skip to content

MaxLights crashes when uploading from Web UI #6

@kcinickgx

Description

@kcinickgx

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, List1& 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.b__62_0() in C:\Projects\MaxLights\MaxLifxCore\AppController.cs:line 299
at System.Threading.Thread.StartCallback()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions