Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via DataStax JIRA by Pavel Chlupacek, 1 year ago
via DataStax JIRA by Pavel Chlupacek, 1 year ago
java.nio.ReadOnlyBufferException: null	at java.nio.ByteBuffer.array(ByteBuffer.java:996)	at io.netty.buffer.UnsafeByteBufUtil.setBytes(UnsafeByteBufUtil.java:368)	at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:205)	at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:877)	at com.datastax.driver.core.CBUtil.writeValue(CBUtil.java:319)	at com.datastax.driver.core.CBUtil.writeValueList(CBUtil.java:344)	at com.datastax.driver.core.Requests$QueryProtocolOptions.encode(Requests.java:319)	at com.datastax.driver.core.Requests$Execute$1.encode(Requests.java:169)	at com.datastax.driver.core.Requests$Execute$1.encode(Requests.java:165)	at com.datastax.driver.core.Message$ProtocolEncoder.encode(Message.java:319)	at com.datastax.driver.core.Message$ProtocolEncoder.encode(Message.java:280)	at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:89)	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:643)	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:700)	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:636)	at io.netty.handler.timeout.IdleStateHandler.write(IdleStateHandler.java:284)	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:643)	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:700)	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:636)	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:622)	at io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:939)	at io.netty.channel.AbstractChannel.write(AbstractChannel.java:234)	at com.datastax.driver.core.Connection$Flusher.run(Connection.java:878)	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)	at java.lang.Thread.run(Thread.java:745)