Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Bug]: ran into error code “0x80010135” when unzip the code on Windows 11

未关闭 适合新手
#464 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
65/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
java
领域
build-system

调研方向

该 issue 指向一个特定文件,该文件的路径过长,会导致 Windows 出现提取错误。检查 extras/queue-manager-replicated/tests-multi-instance/quarkus-app-1/src/main/java/io/a2a/extras/queuemanager/replicated/tests/multiinstance/app1/ 下的项目结构。考虑缩短包名或目录名,以将路径长度降至 Windows 的 260 个字符限制以下。在未启用长路径支持的 Windows 系统上尝试解压下载的归档文件,以验证修复。

由索引模型根据 Issue 内容生成。

描述

What happened?

A bug happened!

I downloaded the code zip (instead of git clone), and when I unzip the code, an error happened

The windows error code is: 0x80010135
And it seems the length of this file's path is way too long: MultiInstanceReplicationApp1AgentExecutorProducer.java

I did some searching. It turns out that the longgest path length in windows is 260 characters. The full path of this file is:

"a2a-java\extras\queue-manager-replicated\tests-multi-instance\quarkus-app-1\src\main\java\io\a2a\extras\queuemanager\replicated\tests\multiinstance\app1\MultiInstanceReplicationApp1AgentExecutorProducer.java"

The length of this string is as high as 207, which is very close to the system upper limit.

An easy solution is enable windows' long path support:

  1. Win + R: regedit
  2. find HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
  3. create LongPathsEnabled DWORD (32-bit)
  4. set the value to 1
  5. reboot the system
Relevant log output

Code of Conduct
  • I agree to follow this project's Code of Conduct
主要语言
Java
星标
495
派生
174
平均合并
1 天 17 小时
30 天内合并 PR
48

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

a2aproject/a2a-java 的其他 Issue

查看 a2aproject/a2a-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。