Attila Doroszlai created HDDS-10725:
---------------------------------------
Summary: TestContentGenerator#writeWithHsync fails with Java 17
Key: HDDS-10725
URL: https://issues.apache.org/jira/browse/HDDS-10725
Project: Apache Ozone
Issue Type: Sub-task
Components: test
Reporter: Attila Doroszlai
{code}
12:19:18,170 [ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time
elapsed: 0.323 s <<< FAILURE! - in
org.apache.hadoop.ozone.freon.TestContentGenerator
12:19:18,170 [ERROR]
org.apache.hadoop.ozone.freon.TestContentGenerator.writeWithHsync Time
elapsed: 0.294 s <<< ERROR!
java.lang.NullPointerException: Cannot read the array length because "this.buf"
is null
at
java.base/java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:97)
at
java.base/java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:130)
at
org.apache.hadoop.ozone.freon.ContentGenerator.write(ContentGenerator.java:98)
at
org.apache.hadoop.ozone.freon.TestContentGenerator.writeWithHsync(TestContentGenerator.java:113)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]