-
Bug
-
Resolution: Done-Errata
-
Major
-
MTA 7.1.0
-
False
-
-
False
-
-
-
None
Description of problem:
camel-cbr app analysis fails with index out of range error
Version-Release number of selected component (if applicable):
Bundle 7.1.0-24
How reproducible:
100%
Steps to Reproduce:
1. Download app
2. Run analysis with command like
/home/igor/bin/mta-cli analyze --overwrite --input /home/igor/github.com/kantra-cli-tests/data/applications/camel-cbr --output /home/igor/MTA/reports --source camel2 --target camel4
Actual results:
Analysis fails with error:
panic: runtime error: index out of range [0] with length 0 goroutine 1 [running]: github.com/konveyor-ecosystem/kantra/cmd.(*analyzeCommand).RunAnalysis(0xc0002a4000, {0xebca00, 0xc0000a9db0}, {0x0, 0x0}, {0xc0004c07c0, 0x10}) /remote-source/mta-cli/app/cmd/analyze.go:1435 +0x1c48 github.com/konveyor-ecosystem/kantra/cmd.NewAnalyzeCmd.func2(0xc0002a0600, {0xc0001c9ef0?, 0x4?, 0xd59fa4?}) /remote-source/mta-cli/app/cmd/analyze.go:253 +0x54e github.com/spf13/cobra.(*Command).execute(0xc0002a0600, {0xc0001c9e60, 0x9, 0x9}) /remote-source/mta-cli/deps/gomod/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:983 +0xabc github.com/spf13/cobra.(*Command).ExecuteC(0x1467620) /remote-source/mta-cli/deps/gomod/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x3ff github.com/spf13/cobra.(*Command).Execute(...) /remote-source/mta-cli/deps/gomod/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039 github.com/spf13/cobra.(*Command).ExecuteContext(...) /remote-source/mta-cli/deps/gomod/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1032 github.com/konveyor-ecosystem/kantra/cmd.Execute() /remote-source/mta-cli/app/cmd/root.go:66 +0x10c main.main() /remote-source/mta-cli/app/main.go:8 +0xf
Expected results:
Analysis should be completed
Additional info:
This app is a customer app and command to run analysis was sent to us by customer as well. It worked fine on 7.0.3, but fails on 7.1.0
- links to
-
RHBA-2024:132861 Migration Toolkit for Applications bug fix and enhancement update
- mentioned on
There are no Sub-Tasks for this issue.