Java agent fails if appmap.yml exists and is correct but is missing required entries
还没有人认领这个 Issue。
评估
调研方向
将此失败与相关的 Python agent issue 进行比较,然后检查 appmap/built/cmds/agentInstaller/agentProcedure.js 中的安装程序流程,尤其是 validateProject 和 run 路径。使用所示的 appmap.yml 重现错误,并验证缺少必需条目的现有文件能够在不发生 name-missing 失败的情况下得到处理。
由索引模型根据 Issue 内容生成。
描述
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:
- 主要语言
- Java
- 星标
- 88
- 派生
- 17
- 平均合并
- 2 天 2 小时
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getappmap/appmap-java 的其他 Issue
-
getappmap/appmap-java#323 · 1 个 reaction · 已指派 2 人 ·
-
难度 3/5 1-2 天 新手友好度 35/100
getappmap/appmap-java#322 ·
-
难度 5/5 一周以上 新手友好度 35/100
getappmap/appmap-java#308 ·
-
难度 5/5 一周以上 新手友好度 35/100
getappmap/appmap-java#305 ·
-
难度 4/5 3-5 天 新手友好度 35/100
getappmap/appmap-java#304 ·
查看 getappmap/appmap-java 的全部 Issue
相似的 Issue
-
Bug Java Platform: Java
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/sentry-java#6138 · 1 条评论 ·
-
bug needs triage p2
难度 2/5 1-3 小时 新手友好度 78/100
GoogleCloudPlatform/DataflowTemplates#4273 · 1 条评论 ·
-
[Studio][Bug] Bulk-deleting a full page of alert rules steps the page back while more rules remain 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
apache/rocketmq-dashboard#4654 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 76/100