Java agent fails if appmap.yml exists and is correct but is missing required entries
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
So sánh lỗi này với issue liên quan đến Python agent, sau đó kiểm tra luồng installer tại appmap/built/cmds/agentInstaller/agentProcedure.js, đặc biệt là validateProject và run path. Tái hiện lỗi bằng appmap.yml được cung cấp và xác minh rằng một file hiện có bị thiếu các entry bắt buộc được xử lý mà không xảy ra lỗi name-missing.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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:
- Ngôn ngữ chính
- Java
- Star
- 88
- Fork
- 17
- Merge trung bình
- 2 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getappmap/appmap-java
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
getappmap/appmap-java#333 ·
-
appmap.yml packages path matching zero classes yields a healthy-looking recording with no warningĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
getappmap/appmap-java#332 · 1 bình luận ·
-
Git metadata dropped in a git worktree (.git file with gitdir: pointer not followed)Có thể đã có người làm @dividedmind đã nhận 3 ngày trước. Đang mở
getappmap/appmap-java#331 · 1 bình luận · 1 người được giao ·
-
Labeled methods should always be recorded, even if they match trivial-method filtersCó thể đã có người làm @kgilpin đã nhận 193 ngày trước. Đang mở
getappmap/appmap-java#323 · 1 reaction · 2 người được giao ·
-
Warning with Java 25Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
getappmap/appmap-java#322 ·
Tất cả issue của getappmap/appmap-java
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
openhab/openhab-addons#21921 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
jellyfin/jellyfin-androidtv#5885 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
objectionary/eo-graphs#85 ·
-
XtYaml throws a bare ClassCastException when sheets or asserts is a scalar or holds a non-stringĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
objectionary/xax#246 ·
Maintainer thường phản hồi trong vòng 1 ngày