getappmap / getappmap/appmap-java
Java agent fails if appmap.yml exists and is correct but is missing required entries
未关闭
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 88
- 派生
- 17
- 平均合并
- 2 天 2 小时
- 30 天内合并 PR
- 1
描述
See https://github.com/getappmap/appmap-python/issues/181 for a similar issue fixed in the Python agent.
Error:
appmap.yml:
1 | {"test_recording":{"test_commands":[{"command":"mvn test","env":{}}]}}
| name is missing here! ()
at AgentInstallerProcedure.validateProject (@appland/appmap/built/cmds/agentInstaller/agentProcedure.js:109:23)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async AgentInstallerProcedure.run (@appland/appmap/built/cmds/agentInstaller/agentInstallerProcedure.js:67:13)
at async _handler (@appland/appmap/built/cmds/agentInstaller/install-agent.js:133:17)
at async Object.handler (@appland/appmap/built/cmds/agentInstaller/install-agent.js:222:35)Error:
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
将此失败与相关的 Python agent issue 进行比较,然后检查 appmap/built/cmds/agentInstaller/agentProcedure.js 中的安装程序流程,尤其是 validateProject 和 run 路径。使用所示的 appmap.yml 重现错误,并验证缺少必需条目的现有文件能够在不发生 name-missing 失败的情况下得到处理。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100