Skip to content

redis.netty.BulkReply cannot be cast to redis.netty.MultiBulkReply #26

@s-boyle

Description

@s-boyle

Using netty-client, after many calls to hgetall I start getting ClassCastException. I call hgetall a lot, for the cases that fail I can query the key with redis-cli, it is there an has more than one field of data, should generate a MultiBulkReply. Not clear why I see responses that are not MultiBulkReply.

java.lang.ClassCastException: redis.netty.BulkReply cannot be cast to redis.netty.MultiBulkReply

net.connexity.actor.CCMSTMActor$$anon$1.apply(STMActor.scala:2035)
spullara.util.concurrent.Promise.set(Promise.java:86)
redis.netty.client.RedisClientBase$1.messageReceived(RedisClientBase.java:113)
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302)
org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndFireMessageReceived(ReplayingDecoder.java:525)
org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:506)
org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:443)
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:349)
org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:280)
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:200)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
java.lang.Thread.run(Thread.java:724)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions