memcached com.schooner.MemCached.AscIIClient

J2EE 码拜 10年前 (2015-04-04) 1424次浏览 0个评论

在启动memcached时出现以下异常:
ERROR [2014-12-15 14:26:52,926] com.schooner.MemCached.AscIIClient:-1 – ++++ exception thrown while trying to get object from cache for key: discount_quota79com.bst.discount.entity.DiscountInfoabcBank
ERROR [2014-12-15 14:26:52,928] com.schooner.MemCached.AscIIClient:-1 – null
java.nio.BufferUnderflowException: null
        at java.nio.Buffer.nextGetIndex(Buffer.java:492) ~[na:1.7.0_51]
        at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:249) ~[na:1.7.0_51]
        at com.schooner.MemCached.SockInputStream.read(Unknown Source) ~[Memcached-Java-Client-3.0.2.jar:na]
        at com.schooner.MemCached.AscIIClient.get(Unknown Source) [Memcached-Java-Client-3.0.2.jar:na]
        at com.schooner.MemCached.AscIIClient.get(Unknown Source) [Memcached-Java-Client-3.0.2.jar:naat com.schooner.MemCached.AscIIClient.get(Unknown Source) [Memcached-Java-Client-3.0.2.jar:na]
        at com.schooner.MemCached.AscIIClient.get(Unknown Source) [Memcached-Java-Client-3.0.2.jar:na]
        at com.whalin.MemCached.MemCachedClient.get(Unknown Source) [Memcached-Java-Client-3.0.2.jar:na]
        at com.bst.common.tool.MemCachedUtil.get(MemCachedUtil.java:131) [MemCachedUtil.class:na]
        at com.bst.discount.service.impl.MemoryCachedService.getDiscountInfoByCode(MemoryCachedService.java:57) [MemoryCachedService.class:na]
        at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51]
这个异常偶尔会出现,不知道具体是什么原因

memcached com.schooner.MemCached.AscIIClient
你到这里看看
memcached com.schooner.MemCached.AscIIClient
引用 1 楼 rui888 的回复:

你到这里看看

这是memCached的源码吧,我之前也看过的,但是对于他里面的异常日志的打印我还是不清楚在什么情况下才会有那个异常信息

memcached com.schooner.MemCached.AscIIClient
30分
这个。 

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明memcached com.schooner.MemCached.AscIIClient
喜欢 (0)
[1034331897@qq.com]
分享 (0)

文章评论已关闭!