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.<Dispose>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
P5: 1.2.7.0
P6: 521ccf76
P7: 33b
P8: 39
P9: System.NullReferenceException
P10: 

And my memcached config section:

<enyim.com>
    <memcached protocol="Binary">
	  <transcoder type="ProtoBuf.Caching.Enyim.NetTranscoder, protobuf-net.Enyim" />
      <servers>
		<add address="couchbase-a-ip-addr" port="10000" />
		<add address="couchbase-b-ip-addr" port="10000" />
      </servers>
      <socketPool minPoolSize="2" maxPoolSize="16" connectionTimeout="00:00:30" deadTimeout="00:02:00" />
    </memcached>
  </enyim.com>

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.

0 Answers

No answers yet