0.0.4 Release throws java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip() on Java 8 Runtime
@kalkeea 已经在做这个了。
开始于 2026年1月14日。
评估
这个 Issue 还没有评估数据。
描述
When compiling & running the sample code from https://github.com/Azure/azure-relay/tree/master/samples/hybrid-connections/java/simple-http-demo with Java 8 (Windows, Java version: 1.8.0_322, vendor: Temurin) and error is thrown:
java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
at com.microsoft.azure.relay.HybridHttpConnection$ResponseStream.lambda$closeAsync$7(HybridHttpConnection.java:471)
I think the issue is that 0.0.4 release was build with Java 16 (MANIFEST.MF says Build-Jdk: 16.0.2) as described here: https://stackoverflow.com/questions/61267495/exception-in-thread-main-java-lang-nosuchmethoderror-java-nio-bytebuffer-flip
0.0.3 doesn't suffer from this, and was built with Java 8.
- 主要语言
- Java
- 星标
- 9
- 派生
- 15
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure/azure-relay-java 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 30/100
Azure/azure-relay-java#113 ·
-
Channel Read spinning on 0 bytes, consuming 100% CPU可能重新可做 @kalkeea 于 317 天前认领,目前没有进行中的 PR。 未关闭
Azure/azure-relay-java#84 · 已指派 1 人 ·
-
Mistakes in exception handling HybridConnectionListener可能重新可做 @kalkeea 于 317 天前认领,目前没有进行中的 PR。 未关闭Relay
Azure/azure-relay-java#71 · 2 条评论 · 已指派 2 人 ·
-
Connection timeout with running with jetty 9.4.28.v20200408可能重新可做 @kalkeea 于 317 天前认领,目前没有进行中的 PR。 未关闭Relay
Azure/azure-relay-java#70 · 2 条评论 · 已指派 2 人 ·
-
HybridConnectionUtil does not handle requests having empty query string param可能已有人在做 @kalkeea 于 317 天前认领。 未关闭Relay
Azure/azure-relay-java#66 · 3 条评论 · 已指派 2 人 ·
查看 Azure/azure-relay-java 的全部 Issue
相似的 Issue
-
documentation good first issue help wanted
难度 1/5 1 小时以内 新手友好度 90/100
-
Attachment upload accepts a file part with no file chosen and stores an empty comp_attachment可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug
难度 2/5 1-3 小时 新手友好度 75/100
eclipse-sw360/sw360#4849 ·
维护者通常 2 天内回复
-
[Bug]: Skip cross-field checkpointing validation rules when checkpointing is disabled可能已有人在做 @hutiefang76 今天认领。 未关闭accepted bug good first issue java
难度 2/5 1-3 小时 新手友好度 72/100
Sekelenao/Flinkboot#473 · 1 条评论 ·
维护者通常 1 天内回复
-
help wanted priority: low Review effort [1-5]: 2 status: needs-triage type: tests
难度 1/5 1-3 小时 新手友好度 86/100
carlos-emr/carlos#6433 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 2 天内回复