Null reference exception in memcached lib


I’ve noticed that after some update of couchbase .net library with it’s memcached library sometimes null reference error is raised:
System.NullReferenceException Stack: at Enyim.Caching.Memcached.MemcachedNode+InternalPoolImpl.b__7(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.TimerQueueTimer.CallCallback() at System.Threading.TimerQueueTimer.Fire() at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch()

This is problem signature from windows logs:

P1: w3wp.exe
P2: 8.0.9200.16384
P3: 50108835
P4: Enyim.Caching
P6: 521ccf76
P7: 33b
P8: 39
P9: System.NullReferenceException

And my memcached config section:



It seems that this error isn’t connected to my code, looks like it’s connected to internal memcache lib pooling, but I’m not sure. May be someone knows about this more than I.


Thanks, I’ll look into this. What version of the client are you using?