java.lang.IllegalArgumentException: Not enough bytes. Offset: 39. Length: 13113. Buffer size: 54

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 Server Fault by Greg M.
, 1 year ago
Not enough bytes. Offset: 39. Length: 13113. Buffer size: 54
via Apache's JIRA Issue Tracker by xiaost, 1 year ago
Not enough bytes
via Apache's JIRA Issue Tracker by xiaost, 1 year ago
Not enough bytes
via Google Groups by Unknown author, 10 months ago
Not enough bytes. Offset: 5. Length: 20275. Buffer size: 12594
java.lang.IllegalArgumentException: Not enough bytes. Offset: 39. Length: 13113. Buffer size: 54
at org.apache.cassandra.db.composites.AbstractCType.checkRemaining(AbstractCType.java:362)
at org.apache.cassandra.db.composites.AbstractCompoundCellNameType.fromByteBuffer(AbstractCompoundCellNameType.java:98)
at org.apache.cassandra.db.composites.AbstractCType$Serializer.deserialize(AbstractCType.java:382)
at org.apache.cassandra.db.composites.AbstractCType$Serializer.deserialize(AbstractCType.java:366)
at org.apache.cassandra.db.OnDiskAtom$Serializer.deserializeFromSSTable(OnDiskAtom.java:75)
at org.apache.cassandra.db.AbstractCell$1.computeNext(AbstractCell.java:52)
at org.apache.cassandra.db.AbstractCell$1.computeNext(AbstractCell.java:46)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
at org.apache.cassandra.io.sstable.format.big.BigTableWriter.appendFromStream(BigTableWriter.java:243)
at org.apache.cassandra.streaming.StreamReader.writeRow(StreamReader.java:187)
at org.apache.cassandra.streaming.compress.CompressedStreamReader.read(CompressedStreamReader.java:108)
at org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:49)
at org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:38)
at org.apache.cassandra.streaming.messages.StreamMessage.deserialize(StreamMessage.java:58)
at org.apache.cassandra.streaming.ConnectionHandler$IncomingMessageHandler.run(ConnectionHandler.java:287)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.