diff --git a/src/main/java/net/spy/memcached/internal/result/BopGetResultImpl.java b/src/main/java/net/spy/memcached/internal/result/BopGetResultImpl.java index 1af33d549..ad87bca0f 100644 --- a/src/main/java/net/spy/memcached/internal/result/BopGetResultImpl.java +++ b/src/main/java/net/spy/memcached/internal/result/BopGetResultImpl.java @@ -52,7 +52,7 @@ public Map> getDecodedValue() { CachedData cachedData = entry.getValue(); if (isByteBKey) { temp.put(bKey, BTreeUtil.makeBTreeElement( - new BKeyObject((ByteArrayBKey) bKey), cachedData, transcoder)); + new BKeyObject(((ByteArrayBKey) bKey).getBytes()), cachedData, transcoder)); } else { temp.put(bKey, BTreeUtil.makeBTreeElement( new BKeyObject((Long) bKey), cachedData, transcoder));