-
-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DictionaryHandle - sporadic NullReferenceException #167
Comments
I cannot reproduce the error at all. Running it on Windows 10 Fullframework and netstandard not on Linux. |
Ok turns out I already fixed that part in a more recent check-in... There was a potential race condition issue in line 127 where Will be fixed in the next patch release... sorry ;) here is a more reliable way to reproduce it
|
fixed in 1.1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! Rarely, we see this occur. I don't know the steps to repro, but it does happen from time to time. We can't repro with MemoryCacheHandle.
Looking at DictionaryCacheHandle.cs, I have no idea what could be going wrong. Apparently _cache is null on this line, but it's not clear at all how that could be.
if (_cache.TryGetValue(fullKey, out CacheItem<TCacheValue> result))
Here is a sample config I use to reproduce this:
And the test harness:
The text was updated successfully, but these errors were encountered: