Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client with Java 8 runtime and Apache HttpClient 5 Transport fails with java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer #920

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

reta
Copy link
Collaborator

@reta reta commented Apr 5, 2024

Description

Client with Java 8 runtime and Apache HttpClient 5 Transport fails with java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer (thanks to @peekar). We changed tests (HeapBufferedAsyncEntityConsumerTest) but it slipped in sadly.

Issues Resolved

Closes #904

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…th java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer

Signed-off-by: Andriy Redko <[email protected]>
@reta reta added bug Something isn't working and removed skip-changelog labels Apr 5, 2024
@VachaShah
Copy link
Collaborator

@reta This doesn't need to be backported to 2.x, does it?

@VachaShah VachaShah merged commit 0db2215 into opensearch-project:main Apr 5, 2024
54 checks passed
@reta
Copy link
Collaborator Author

reta commented Apr 5, 2024

@reta This doesn't need to be backported to 2.x, does it?

Yeah we need, since we have Apache HttpClient 5 transport there as well (as non-default)

@reta reta added the backport 2.x Backport to 2.x branch label Apr 5, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 5, 2024
…th java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer (#920)

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit 0db2215)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
reta pushed a commit that referenced this pull request Apr 5, 2024
…th java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer (#920) (#921)

(cherry picked from commit 0db2215)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@BrendonFaleiro BrendonFaleiro mentioned this pull request Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch bug Something isn't working
Projects
None yet
2 participants