[BUG] Containerless-Kantra : [Windows-Only - Java binary analysis] Fails to decompile class files and creates incidents on the dependencies from .m2 #364
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-priority
Indicates an issue or PR lacks a `priority/foo` label and requires one.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Is there an existing issue for this?
Konveyor version
https://github.com/konveyor/kantra/releases/tag/v0.6.0-alpha.2
Priority
Undefined (Default)
Current Behavior
I have run the analysis using the command:
./kantra analyze-bin --input ./airsonic.war --output ./output-war --target cloud-readiness --overwrite
The report is generated successfully.
I see errors in the log:
level=error msg="failed to decompile file" error="fork/exec bin/java: no such file or directory" logger=decompileWorker-1 provider=java
From the static-report, all the generated 4430 incidents are from .m2 folder and from known open source libraries.
Investigation of the issue:
Expected Behavior
The war file is extracted, and all the class files are decompiled and analyzed successfully.
How Reproducible
Always (Default)
Steps To Reproduce
./kantra analyze-bin --input ./airsonic.war --output ./output-war --target cloud-readiness --overwrite
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: