java.lang.IndexOutOfBoundsException: Not enough


Solutions on the web12

Solution icon of googlegroups
via Google Groups by Shyam Gurram, 8 months ago
Not enough

Solution icon of github
Not enough readable bytes - Need 132, maximum is 120

Solution icon of github
via GitHub by vitalidze
, 1 year ago
Not enough readable bytes - Need 2, maximum is 0

Solution icon of googlegroups
via Google Groups by Michael Sanders, 1 year ago
Not enough readable bytes - Need 196, maximum is 184

Solution icon of bugzilla
via https://bugzilla.redhat.com/bugzilla/ by Miroslav Novak, 1 year ago
Not enough readable bytes - Need 409600, maximum is 204795

Solution icon of datastax
via DataStax JIRA by Vishy Kasar, 1 year ago
Not enough readable bytes - Need 4, maximum is 0

Solution icon of datastax
via DataStax JIRA by Vishy Kasar, 1 year ago
Not enough readable bytes - Need 4, maximum is 0

Solution icon of bugzilla
via https://bugzilla.redhat.com/bugzilla/ by Miroslav Novak, 1 year ago
Not enough readable bytes - Need 409600, maximum is 310758

Solution icon of github
Not enough readable bytes - Need 191, maximum is 179

Solution icon of googlegroups
via Google Groups by sagonfor7, 8 months ago
Not enough readable bytes - Need 191, maximum is 179

Stack trace

java.lang.IndexOutOfBoundsException: Not enough
	at org.jboss.netty.buffer.AbstractChannelBuffer.checkReadableBytes(AbstractChannelBuffer.java:668)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.buffer.AbstractChannelBuffer.readBytes(AbstractChannelBuffer.java:338)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.buffer.AbstractChannelBuffer.readBytes(AbstractChannelBuffer.java:344)[netty-3.9.4.Final.jar:na]
	at org.hbase.async.SecureRpcHelper.wrap(SecureRpcHelper.java:235)[asynchbase-1.7.2.jar:na]
	at org.hbase.async.RegionClient.encode(RegionClient.java:1385)[asynchbase-1.7.2.jar:na]
	at org.hbase.async.RegionClient.sendRpc(RegionClient.java:998)[asynchbase-1.7.2.jar:na]
	at org.hbase.async.RegionClient.sendQueuedRpcs(RegionClient.java:1141)[asynchbase-1.7.2.jar:na]
	at org.hbase.async.RegionClient.becomeReady(RegionClient.java:664)[asynchbase-1.7.2.jar:na]
	at org.hbase.async.SecureRpcHelper96.sendRPCHeader(SecureRpcHelper96.java:190)[asynchbase-1.7.2.jar:na]
	at org.hbase.async.SecureRpcHelper96.handleResponse(SecureRpcHelper96.java:148)[asynchbase-1.7.2.jar:na]
	at org.hbase.async.RegionClient.decode(RegionClient.java:1416)[asynchbase-1.7.2.jar:na]
	at org.hbase.async.RegionClient.decode(RegionClient.java:88)[asynchbase-1.7.2.jar:na]
	at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:500)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[netty-3.9.4.Final.jar:na]
	at org.hbase.async.RegionClient.handleUpstream(RegionClient.java:1223)[asynchbase-1.7.2.jar:na]
	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.SimpleChannelHandler.messageReceived(SimpleChannelHandler.java:142)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler.handleUpstream(IdleStateAwareChannelHandler.java:36)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(IdleStateHandler.java:294)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)[netty-3.9.4.Final.jar:na]
	at org.hbase.async.HBaseClient$RegionClientPipeline.sendUpstream(HBaseClient.java:3121)[asynchbase-1.7.2.jar:na]
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)[netty-3.9.4.Final.jar:na]
	at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)[netty-3.9.4.Final.jar:na]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_111]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_111]
	at java.lang.Thread.run(Thread.java:745)[na:1.7.0_111]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago