-
Bug
-
Resolution: Done-Errata
-
Normal
-
upstream
-
False
-
-
False
-
-
-
No
Description of problem:
Ran an analysis using zip file ex:
$ ./kantra analyze --input=/home/user/sample.daytrader7-master.zip --output=~/output_dir --overwrite
Output received:
panic: runtime error: index out of range [0] with length 0 goroutine 1 [running]: github.com/konveyor-ecosystem/kantra/cmd.(*analyzeCommand).RunProviders(0xc00024e780, {0xec4f88, 0xc000035e50}, {0xc0003d3890, 0x10}, {0xc0003d38e0, 0x10}, {0xc0001e1a60, 0x0, 0x0}, ...) /workspace/cmd/analyze.go:799 +0x7b7 github.com/konveyor-ecosystem/kantra/cmd.NewAnalyzeCmd.func2(0xc00029e600, {0xc000296d80?, 0x4?, 0xd61a61?}) /workspace/cmd/analyze.go:171 +0x6e5 github.com/spf13/cobra.(*Command).execute(0xc00029e600, {0xc000296d20, 0x3, 0x3}) /go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:983 +0xabc github.com/spf13/cobra.(*Command).ExecuteC(0x146d580) /go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x3ff github.com/spf13/cobra.(*Command).Execute(...) /go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039 github.com/spf13/cobra.(*Command).ExecuteContext(...) /go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1032 github.com/konveyor-ecosystem/kantra/cmd.Execute() /workspace/cmd/root.go:66 +0x10c main.main() /workspace/main.go:8 +0xf
Expected: At the end of analysis reason for failure or error.log in the ouptput dir ad output directory remains empty
- links to
-
RHBA-2024:132861 Migration Toolkit for Applications bug fix and enhancement update