java.lang.IllegalArgumentException: offset (0) + length (8) exceed the capacity of the array: 1

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by skeght
, 1 year ago
offset (0) + length (8) exceed the capacity of the array: 1
java.lang.IllegalArgumentException: offset (0) + length (8) exceed the capacity of the array: 1
at io.mycat.memory.unsafe.utils.BytesTools.explainWrongLengthOrOffset(BytesTools.java:400)
at io.mycat.memory.unsafe.utils.BytesTools.toLong(BytesTools.java:374)
at io.mycat.memory.unsafe.utils.BytesTools.toLong(BytesTools.java:347)
at io.mycat.sqlengine.mpp.UnsafeRowGrouper.getGroupKey(UnsafeRowGrouper.java:475)
at io.mycat.sqlengine.mpp.UnsafeRowGrouper.addRow(UnsafeRowGrouper.java:559)
at io.mycat.sqlengine.mpp.DataNodeMergeManager.run(DataNodeMergeManager.java:372)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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