Share via

Microsoft .Net Framework error? JIT Debugging?

Anonymous
2025-02-25T21:30:44+00:00

Hello

I recently had to replace one of my monitors of the 3 that I have and ever since I got it (Newer model of the same monitor) I've been having this error come up, every single time I turn on the monitor. And I have no idea what is causing it.

This is error code I keep getting:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidOperationException: Sequence contains no elements at System.Linq.Enumerable.Min(IEnumerable1 source) at NGenuity2.Devices.HyperXCenter.SetAllMirrorInfo(List1 allMonitors) at NGenuity2.Monitors.PhysicalMonitorDetection.DeviceChanged() at NGenuity2.MainForm.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.9290.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- NGenuity2Helper Assembly Version: 2.28.1.0 Win32 Version: 2.28.1.0 CodeBase: file:///C:/Program%20Files/WindowsApps/33C30B79.HyperXNGenuity_5.28.1.0_x64__0a78dr3hq0pvt/Assets/Native/NGenuity2Helper.exe ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.8.9282.0 built by: NET481REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- Windows.Foundation Assembly Version: 255.255.255.255 Win32 Version: 10.0.10011.16384 CodeBase: file:///C:/WINDOWS/system32/WinMetadata/Windows.Foundation.winmd ---------------------------------------- System.Runtime Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll ---------------------------------------- Windows.ApplicationModel Assembly Version: 255.255.255.255 Win32 Version: 10.0.10011.16384 CodeBase: file:///C:/WINDOWS/system32/WinMetadata/Windows.ApplicationModel.winmd ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.9256.0 built by: NET481REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.InteropServices.WindowsRuntime Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.InteropServices.WindowsRuntime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.InteropServices.WindowsRuntime.dll ---------------------------------------- Windows.Storage Assembly Version: 255.255.255.255 Win32 Version: 10.0.10011.16384 CodeBase: file:///C:/WINDOWS/system32/WinMetadata/Windows.Storage.winmd ---------------------------------------- GoogleMeasurementProtocol Assembly Version: 2.2.0.0 Win32 Version: 2.2.0.0 CodeBase: file:///C:/Program%20Files/WindowsApps/33C30B79.HyperXNGenuity_5.28.1.0_x64__0a78dr3hq0pvt/Assets/Native/GoogleMeasurementProtocol.DLL ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.9277.0 built by: NET481REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- Windows.System Assembly Version: 255.255.255.255 Win32 Version: 10.0.10011.16384 CodeBase: file:///C:/WINDOWS/system32/WinMetadata/Windows.System.winmd ---------------------------------------- Windows.Globalization Assembly Version: 255.255.255.255 Win32 Version: 10.0.10011.16384 CodeBase: file:///C:/WINDOWS/system32/WinMetadata/Windows.Globalization.winmd ---------------------------------------- netstandard Assembly Version: 2.0.0.0 Win32 Version: 4.8.9032.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll ---------------------------------------- Windows.Networking Assembly Version: 255.255.255.255 Win32 Version: 10.0.10011.16384 CodeBase: file:///C:/WINDOWS/system32/WinMetadata/Windows.Networking.winmd ---------------------------------------- System.Runtime.WindowsRuntime Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.WindowsRuntime/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.WindowsRuntime.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- PublisherStorageLib Assembly Version: 1.0.0.2 Win32 Version: 1.0.0.2 CodeBase: file:///C:/Program%20Files/WindowsApps/33C30B79.HyperXNGenuity_5.28.1.0_x64__0a78dr3hq0pvt/Assets/Native/PublisherStorageLib.DLL ---------------------------------------- Newtonsoft.Json Assembly Version: 13.0.0.0 Win32 Version: 13.0.1.25517 CodeBase: file:///C:/Program%20Files/WindowsApps/33C30B79.HyperXNGenuity_5.28.1.0_x64__0a78dr3hq0pvt/Assets/Native/Newtonsoft.Json.DLL ---------------------------------------- System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll ---------------------------------------- System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll ---------------------------------------- System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-02-26T07:05:00+00:00

    Dear SweptbackFlame,

    Thank you for reaching out and providing the error details.

    Based on the log you've shared, it appears that the issue is related to the NGenuity2Helper process, specifically the NGenuity software by HyperX, which seems to be getting "stuck" when trying to detect multiple monitors.

    The error message you are seeing, which points to System.InvalidOperationException: Sequence contains no elements, suggests that the software is encountering problems when trying to interact with the connected monitors, potentially due to some conflict or misconfiguration in the monitor setup or the way NGenuity is polling the devices.

    Here are a few suggestions you can try to resolve the issue:

    Uninstall NGenuity: Uninstalling NGenuity through the Settings > Apps. This will remove any potential conflicts or issues caused by the software. After uninstalling, restart your system and check if the problem persists without NGenuity running.

    Reinstall Graphics Drivers:

    If the problem is still occurring after uninstalling NGenuity, try reinstalling your graphics drivers.

    Download DDU from a trusted source (such as their official website).

    Boot into Safe Mode by pressing Shift + Restart and selecting Troubleshoot > Advanced options > Startup Settings > Restart.

    Once in Safe Mode, run DDU to remove the current graphics driver completely.

    Afterward, you can download and install the latest driver from your graphics card manufacturer’s website (NVIDIA, AMD, Intel).

    For more information on how to use DDU, you can refer to the guidance notes provided by Intel's official website, which is based on an example of an Intel graphics card, and is equally applicable to NVIDIA and AMD graphics cards.

    How to Use the Display Driver Uninstaller (DDU)

    Disclaimer: Microsoft provides no assurances and/or warranties, implied or otherwise, and is not responsible for the information you receive from the third-party linked sites, or any support related to technology.

    Update Monitor Firmware: It's possible that the firmware of your new monitor is outdated and may be causing issues when NGenuity tries to communicate with it. Visit the manufacturer’s website for your monitor model and check if there is any available firmware update.

    I appreciate your patience, and feel free to reach out anytime if you need further assistance.

    Best Regards,

    Martin | Microsoft Community Support Specialist

    0 comments No comments