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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getappmap/appmap-java 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 28/100
getappmap/appmap-java#333 ·
-
appmap.yml packages path matching zero classes yields a healthy-looking recording with no warning未关闭
难度 3/5 1-2 天 新手友好度 45/100
getappmap/appmap-java#332 · 1 条评论 ·
-
Git metadata dropped in a git worktree (.git file with gitdir: pointer not followed)可能已有人在做 @dividedmind 于 1 天前认领。 未关闭
getappmap/appmap-java#331 · 1 条评论 · 已指派 1 人 ·
-
Labeled methods should always be recorded, even if they match trivial-method filters可能已有人在做 @kgilpin 于 191 天前认领。 未关闭
getappmap/appmap-java#323 · 1 个 reaction · 已指派 2 人 ·
-
难度 3/5 1-2 天 新手友好度 35/100
getappmap/appmap-java#322 ·
查看 getappmap/appmap-java 的全部 Issue
相似的 Issue
-
[BUG] 订单:会员凭订单号即可取消其他会员的待付款订单(取消接口不校验订单归属)可能已有人在做 @dadiyang 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
macrozheng/mall#1016 ·
-
[Bug] The producer summary counts an unreported client version as a second version and warns about a version mix可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
apache/rocketmq-dashboard#6110 ·
维护者通常 4 天内回复
-
Feature:Resolution
难度 2/5 1-3 小时 新手友好度 72/100
intellij-elixir/intellij-elixir#4396 ·
维护者通常 1 天内回复
-
Python 3.15 support可能已有人在做 @amnesiaof 今天认领。 未关闭L: python L: python:uv
难度 2/5 1-3 小时 新手友好度 72/100
dependabot/dependabot-core#16524 · 1 条评论 ·
维护者通常 1 天内回复
-
`Processing lsp` never exits and leaves orphaned processes可能已有人在做 @overcast302 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 72/100
processing/processing4#1578 · 1 条评论 ·