You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2024/04/20 12:07:00 UTC

[jira] [Assigned] (HDDS-10725) TestContentGenerator#writeWithHsync fails with Java 17

     [ https://issues.apache.org/jira/browse/HDDS-10725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai reassigned HDDS-10725:
---------------------------------------

    Assignee: Attila Doroszlai

> 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
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> {code}
> [ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.323 s <<< FAILURE! - in org.apache.hadoop.ozone.freon.TestContentGenerator
> [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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org