[ 
https://issues.apache.org/jira/browse/CASSANDRA-12156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15369023#comment-15369023
 ] 

vin01 commented on CASSANDRA-12156:
-----------------------------------

And followin this there were more errors like :-


ERROR [SharedPool-Worker-14] 2016-07-09 00:09:23,547 Message.java:611 - 
Unexpected exception during request; channel = [id: 0x7e101236, 
/192.168.100.91:36421 => $
java.lang.ClassCastException: null

no stack-trace for these was there.

> java.lang.ClassCastException During Write Operations
> ----------------------------------------------------
>
>                 Key: CASSANDRA-12156
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12156
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: Centos 6.7, JDK1.8.0_72, Cassandra 3.0.7
>            Reporter: vin01
>
> During a regular ETL process today suddenly i am getting some errors from 
> cassandra which look like :-
> ERROR [SharedPool-Worker-28] 2016-07-09 00:07:04,062 Message.java:611 - 
> Unexpected exception during request; channel = [id: 0x7e101236, 
> /ip.add.re.ss:36421 => /ip.add.re.ss:9044]
> io.netty.handler.codec.DecoderException: java.lang.ClassCastException: 
> java.lang.String cannot be cast to [B
>         at 
> io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:99)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:971) 
> ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:854) 
> ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:249)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:722)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:326) 
> ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264) 
> ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72]
> Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to [B
>         at 
> io.netty.buffer.PooledHeapByteBuf.array(PooledHeapByteBuf.java:280) 
> ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at 
> org.apache.cassandra.transport.FrameCompressor$LZ4Compressor.decompress(FrameCompressor.java:191)
>  ~[apache-cassandra-3.0.7.jar:3.0.7]
>         at 
> org.apache.cassandra.transport.Frame$Decompressor.decode(Frame.java:310) 
> ~[apache-cassandra-3.0.7.jar:3.0.7]
>         at 
> org.apache.cassandra.transport.Frame$Decompressor.decode(Frame.java:289) 
> ~[apache-cassandra-3.0.7.jar:3.0.7]
>         at 
> io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)
>  ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         ... 18 common frames omitted
> it didn't affect the application though but i haven't seen it before and 
> seems like something is wrong.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to