question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception when Laptop goes to Standby

See original GitHub issue

I see this Exception, when I come back to my Laptop after a while:

System.InvalidOperationException: Die Sammlung wurde geändert. Der Enumerationsvorgang kann möglicherweise nicht ausgeführt werden. bei System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) bei System.Collections.Generic.List`1.Enumerator.MoveNextRare() bei LibreHardwareMonitor.Hardware.Computer.Traverse(IVisitor visitor) bei LibreHardwareMonitor.UI.MainForm.Timer_Tick(Object sender, EventArgs e) bei System.Windows.Forms.Timer.OnTick(EventArgs e) bei System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

It is reproducable on my machine. So basically when I leave the laptop alone for a bit and some energy saving gets enabled.

I had the graph (plot), the main window and 2 tray temperature icons active.

I’m sorry that Microsoft shows the Exception in German language. It sounds like a collection got changed while iterating over it.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22

github_iconTop GitHub Comments

3reactions
PhyxionNLcommented, Jul 21, 2020

Please try the latest build, I managed to get the exception now also on my machine, it didn’t always occur.

3reactions
PhyxionNLcommented, Jul 17, 2020

This is indeed caused by the power change, but it could’ve happen in some other cases as well. I’ve committed a fix for it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BSOD every time PC Going to Sleep - System Thread ...
Hello,Ever since I (unsuccessfully) tried to clone my PC SSD with Acronis, I am getting BSOD System Thread Exception Not Handled.
Read more >
Solved: Unexpected store exception after Sleep
I recently got this unexpected store exception error lately, which looks like on ... I often simply close the lid, and then the...
Read more >
Why does my computer go to a blue screen of death after ...
One possible reason is for performing OS updates. You may be able to get an idea by using the following command at the...
Read more >
Windows 10 goes to sleep ignoring the settings
My Lenovo laptop's settings: is plugged in; no screensaver; "never" go to sleep/hybernate set to all settings in advanced power options. When ...
Read more >
Prevent windows from going into sleep when my program ...
I have to stop windows from going into sleep when my program is running. And I don't only want to prevent the sleep-timer,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found