Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка при использовании convert с исходниками в формате EDT #150

Open
1cgh opened this issue Jan 7, 2025 · 0 comments

Comments

@1cgh
Copy link

1cgh commented Jan 7, 2025

Выполняю convert из raw-данных следующей командой
Coverage41C convert -c=out/raw.xml -f=GENERIC_COVERAGE -s=./mom/mom -o=out/cf.xml -P=. --verbose

в mom/mom лежит EDT-шный проект конфигурации
convert падает с ошибкой, лог ниже.

если выполнять convert, но указать в -s каталог с исходниками этой же конфы, но экспортированные в конфигураторный формат - конвертация выполняется без ошибок

если выполнять сбор покрытия (start), указав те же -s и -P, то при дампе файл покрытия сохраняется корректно

Лог ошибки:

PS C:\Projects\git\mom_develop> [main] INFO com.clouds42.Utils - Project directory: .
[main] INFO com.clouds42.Utils - Reading configuration sources from root path: C:\Projects\git\mom_develop\.\.\mom\mom
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] ERROR com.clouds42.Utils - Input length = 1
[main] INFO com.clouds42.Utils - Configuration sources reading DONE
[main] ERROR com.clouds42.Commands.ConvertCommand - Can't find file key: 795c4364-49e4-43c8-bc98-a47dd2881182/d1b64a2c-8078-4982-8190-8f81aefda192
[main] ERROR com.clouds42.Commands.ConvertCommand - Can't find file key: 20617de9-dab7-4587-a43a-4330e51bbc64/d5963243-262e-4398-b4d7-fb16d06484f6
[main] ERROR com.clouds42.Commands.ConvertCommand - Can't find file key: 84756d3d-f581-4ce1-bbf4-9223333702fa/d5963243-262e-4398-b4d7-fb16d06484f6
[main] ERROR com.clouds42.Commands.ConvertCommand - Can't find file key: aaa3ffd9-e0a5-4df2-b163-9a5c4a171e3a/d5963243-262e-4398-b4d7-fb16d06484f6
[main] ERROR com.clouds42.Commands.ConvertCommand - Can't find file key: 4089d47b-14fd-4dba-b573-0004f6590c82/d5963243-262e-4398-b4d7-fb16d06484f6
[main] ERROR com.clouds42.Commands.ConvertCommand - Can't find file key: b10540a9-d4d7-43a8-8bc1-b3f47bb97289/d5963243-262e-4398-b4d7-fb16d06484f6
[main] ERROR com.clouds42.Commands.ConvertCommand - Can't find file key: 1e6f3296-03af-4bd2-b52a-d89f576e7166/d5963243-262e-4398-b4d7-fb16d06484f6
[main] ERROR com.clouds42.Commands.ConvertCommand - Can't find file key: 58816102-2009-4e4d-b291-5c8dbcc84d78/a637f77f-3840-441d-a1c3-699c8c5cb7e0
[main] ERROR com.clouds42.Commands.ConvertCommand - Can't find file key: 697f0b08-b5d2-4f00-a601-31854dacbaf7/d5963243-262e-4398-b4d7-fb16d06484f6
[main] ERROR com.clouds42.Commands.ConvertCommand - Can't find file key: f53b66d1-d3a6-48ff-86e3-d684d219a58d/d5963243-262e-4398-b4d7-fb16d06484f6
java.lang.NullPointerException: Cannot invoke "java.util.Map.isEmpty()" because "coverMap" is null
        at com.clouds42.Commands.ConvertCommand.call(ConvertCommand.java:93)
        at com.clouds42.Commands.ConvertCommand.call(ConvertCommand.java:50)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
        at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
        at picocli.CommandLine.execute(CommandLine.java:2078)
        at com.clouds42.Coverage41C.main(Coverage41C.java:47)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant