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 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)