OnlyChange / memcache-client-forjava

Automatically exported from code.google.com/p/memcache-client-forjava
0 stars 0 forks source link

在高并发情况下,抛出空指针异常并终止 #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

java.lang.NullPointerException
        at 
com.alisoft.xplatform.asf.cache.memcached.client.SockIOPool.isFreeSocket(So
ckIOPool.java:968)
        at 
com.alisoft.xplatform.asf.cache.memcached.client.SockIOPool.getConnection(S
ockIOPool.java:905)
        at 
com.alisoft.xplatform.asf.cache.memcached.client.SockIOPool.getSock(SockIOP
ool.java:740)
        at 
com.alisoft.xplatform.asf.cache.memcached.client.MemCachedClient.get(MemCac
hedClient.java:1352)
        at 
com.alisoft.xplatform.asf.cache.memcached.client.MemCachedClient.get(MemCac
hedClient.java:1296)
        at 
net.rubyeye.memcached.benchmark.asfcached.ReadWriteThread.get(ReadWriteThre
ad.java:21)
        at 
net.rubyeye.memcached.BaseReadWriteThread.run(BaseReadWriteThread.java:52)

Original issue reported on code.google.com by killme2...@gmail.com on 20 Jun 2009 at 11:56

GoogleCodeExporter commented 9 years ago
我去看看在给你答复,起码我现在没有遇到这样的问题。

Original comment by cenwen...@gmail.com on 22 Jun 2009 at 10:46

GoogleCodeExporter commented 9 years ago
已经修复,应该是连接池shutdown没有完全结束,导致一些后台
线程继续在跑,不过对于不需要重新启动
cache客户端的应用来说不存在这个问题。在2.5.2版本里面已经�
��底修复了,感谢淘宝同学的指出。

Original comment by cenwen...@gmail.com on 20 Jul 2009 at 9:04

GoogleCodeExporter commented 9 years ago
2.5.2什么时候发布?

Original comment by long...@gmail.com on 15 Dec 2011 at 6:38