[infinispan-issues] [JBoss JIRA] (ISPN-6200) Remote iterators don't work in compatibility mode

Vojtech Juranek (JIRA) issues at jboss.org
Thu Feb 11 17:21:00 EST 2016


     [ https://issues.jboss.org/browse/ISPN-6200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vojtech Juranek updated ISPN-6200:
----------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/4001


> Remote iterators don't work in compatibility mode
> -------------------------------------------------
>
>                 Key: ISPN-6200
>                 URL: https://issues.jboss.org/browse/ISPN-6200
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Server
>            Reporter: Vojtech Juranek
>            Assignee: Vojtech Juranek
>
> Using remote iterator in compatibility mode results into following exception:
> {noformat}
> 18:17:28,338 ERROR [org.infinispan.server.hotrod.HotRodEncoder] (HotRodServerWorker-9-6) ISPN005022: Exception writing response with messageId=19: java.lang.ClassCastException: java.lang.String cannot be cast to [B
>         at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:370)
>         at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:349)
>         at scala.collection.immutable.List.foreach(List.scala:381)
>         at org.infinispan.server.hotrod.Encoder2x$.writeResponse(Encoder2x.scala:349)
>         at org.infinispan.server.hotrod.HotRodEncoder.encode(HotRodEncoder.scala:45)
>         at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
>         at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:633)
>         at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:691)
>         at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:681)
>         at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:716)
>         at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:954)
>         at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:243)
>         at org.infinispan.server.hotrod.HotRodDecoder.writeResponse(HotRodDecoder.scala:250)
>         at org.infinispan.server.hotrod.HotRodDecoder.customDecodeKey(HotRodDecoder.scala:212)
>         at org.infinispan.server.hotrod.HotRodDecoder.org$infinispan$server$hotrod$HotRodDecoder$$decodeKey(HotRodDecoder.scala:119)
>         at org.infinispan.server.hotrod.HotRodDecoder$$anonfun$decode$1.apply$mcV$sp(HotRodDecoder.scala:53)
>         at org.infinispan.server.hotrod.HotRodDecoder.wrapSecurity(HotRodDecoder.scala:224)
>         at org.infinispan.server.hotrod.HotRodDecoder.decode(HotRodDecoder.scala:50)
>         at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:370)
>         at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:168)
>         at org.infinispan.server.hotrod.HotRodDecoder.org$infinispan$server$core$transport$StatsChannelHandler$$super$channelRead(HotRodDecoder.scala:32)
>         at org.infinispan.server.core.transport.StatsChannelHandler$class.channelRead(StatsChannelHandler.scala:32)
>         at org.infinispan.server.hotrod.HotRodDecoder.channelRead(HotRodDecoder.scala:32)
>         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
>         at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
>         at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
>         at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)
>         at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
>         at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
>         at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
>         at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
>         at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
>         at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
>         at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list