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

GitHub | skeght | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 1042#239977156

    GitHub | 6 months ago | skeght
    java.lang.IllegalArgumentException: offset (0) + length (8) exceed the capacity of the array: 1

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      offset (0) + length (8) exceed the capacity of the array: 1

      at io.mycat.memory.unsafe.utils.BytesTools.explainWrongLengthOrOffset()
    2. io.mycat.memory
      BytesTools.toLong
      1. io.mycat.memory.unsafe.utils.BytesTools.explainWrongLengthOrOffset(BytesTools.java:400)
      2. io.mycat.memory.unsafe.utils.BytesTools.toLong(BytesTools.java:374)
      3. io.mycat.memory.unsafe.utils.BytesTools.toLong(BytesTools.java:347)
      3 frames
    3. io.mycat.sqlengine
      DataNodeMergeManager.run
      1. io.mycat.sqlengine.mpp.UnsafeRowGrouper.getGroupKey(UnsafeRowGrouper.java:475)
      2. io.mycat.sqlengine.mpp.UnsafeRowGrouper.addRow(UnsafeRowGrouper.java:559)
      3. io.mycat.sqlengine.mpp.DataNodeMergeManager.run(DataNodeMergeManager.java:372)
      3 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames