Kontinuation commented on issue #12676:
URL: https://github.com/apache/iceberg/issues/12676#issuecomment-2818184943

   > Just came across this in my last core-java run: 
https://github.com/apache/iceberg/actions/runs/14569417178/job/40863823631?pr=12667
   > 
   > I suspect that the problem is caused by sharing the same 
[`EMPTY_V1_BUFFER`](https://github.com/apache/iceberg/blob/apache-iceberg-1.9.0-rc1/api/src/main/java/org/apache/iceberg/variants/SerializedMetadata.java#L34-L36)
 in 
[VariantTestUtil.emptyMetadata](https://github.com/apache/iceberg/blob/apache-iceberg-1.9.0-rc1/api/src/test/java/org/apache/iceberg/variants/VariantTestUtil.java#L128-L131)
 and `EMPTY_V1_METADATA`. Returning a duplicate in `VariantTestUtil` may help 
resolve this issue.
   
   > Please open a PR if you already have a fix. I can reassign here.
   
   I found that this issue has nothing to do with sharing `EMPTY_V1_BUFFER`, it 
is simply because the stacktrace and message were omitted in the exception 
object when ArrayIndexOutOfBoundsException is raised frequently. There's 
already a pending PR for resolving it: 
https://github.com/apache/iceberg/pull/12806. You can reassign this issue to 
the author of that PR.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to