You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happened very randomly, I don't know how to reproduce. Just have an aspnet core app with a Worker as a background service. I let it run for several hours in VS 2022 debugger.
Expected behavior
Should not throw an exception.
Actual behavior
Throws a null reference exception.
Regression?
No response
Known Workarounds
No response
Configuration
.NET 7.0 Preview 5.
Windows 11 Insider Build 25151.
Intel Core i3 x64 (NUC 8).
64 GB of RAM.
2TB Samsung NVMe Pro 980 of Disk Space.
Other information
No response
The text was updated successfully, but these errors were encountered:
ghost
added
the
untriaged
New issue has not been triaged by the area owner
label
Jul 2, 2022
This happened very randomly, I don't know how to reproduce. Just have an aspnet core app with a Worker as a background service. I let it run for several hours in VS 2022 debugger.
Expected behavior
Should not throw an exception.
Actual behavior
Throws a null reference exception.
Regression?
No response
Known Workarounds
No response
Configuration
.NET 7.0 Preview 5.
Windows 11 Insider Build 25151.
Intel Core i3 x64 (NUC 8).
64 GB of RAM.
2TB Samsung NVMe Pro 980 of Disk Space.
It's not clear to me how this could be happening from the code. Try enabling just-in-time debugging in VS and if possible share a crash dump if it happens again.
Description
I am running an AspNet Core project with a Worker running as a background service.
Very rare and random I got this exception:
Object reference not set to an instance of an object.
Stacktrace:
...at System.Threading.ThreadInt64PersistentCounter.get_Count()
Reproduction Steps
This happened very randomly, I don't know how to reproduce. Just have an aspnet core app with a Worker as a background service. I let it run for several hours in VS 2022 debugger.
Expected behavior
Should not throw an exception.
Actual behavior
Throws a null reference exception.
Regression?
No response
Known Workarounds
No response
Configuration
.NET 7.0 Preview 5.
Windows 11 Insider Build 25151.
Intel Core i3 x64 (NUC 8).
64 GB of RAM.
2TB Samsung NVMe Pro 980 of Disk Space.
Other information
No response
The text was updated successfully, but these errors were encountered: