l-wang opened a new issue, #43048:
URL: https://github.com/apache/arrow/issues/43048

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   I am investigating an IndexOutOfBoundsException problem from the following 
stack trace.
   ```
   (java.lang.IndexOutOfBoundsException) index: 0, length: 16 (expected: 
range(0, 16))
       org.apache.arrow.memory.ArrowBuf.setBytes():960
       org.apache.arrow.vector.DecimalVector.set():381
       org.apache.arrow.vector.DecimalVector.setSafe():471
   ``` 
   The detailed message of this exception `index: 0, length: 16 (expected: 
range(0, 16))` is not helpful, because the index and length are **within** the 
expected range. The problem is that the `index` that gets reported in this 
message is NOT the `index` that was checked. 
   
   arrow version: main
   plateform: Linux
   
   ### Component(s)
   
   Java


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to