The jf CLI command crashes during its execution. The command executed is
22:00:05 [Debug] JFrog CLI version: 2.104.0
22:00:05 [Debug] OS/Arch: linux/amd64
22:00:05 [Debug] Trace ID for JFrog Platform logs: 27d61140effe555a
22:00:05 [Debug] No servers were configured.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1589c0f]
goroutine 1 [running]:
github.com/jfrog/jfrog-cli-artifactory/skills/common.GetServerDetails(0x35852e3cad80)
/root/go/pkg/mod/github.com/jfrog/jfrog-cli-artifactory@v0.8.1-0.20260515045427-eb0cec44a4e2/skills/common/server.go:25 +0xaf
github.com/jfrog/jfrog-cli-artifactory/skills/commands/list.RunList(0x35852e3cad80)
/root/go/pkg/mod/github.com/jfrog/jfrog-cli-artifactory@v0.8.1-0.20260515045427-eb0cec44a4e2/skills/commands/list/list.go:448 +0x805
github.com/jfrog/jfrog-cli-core/v2/plugins/components.convertCommand.getActionFunc.func2(0x35852e5f46e0?)
/root/go/pkg/mod/github.com/jfrog/jfrog-cli-core/v2@v2.60.1-0.20260515092054-cca97077293d/plugins/components/conversionlayer.go:388 +0x9f
github.com/urfave/cli.HandleAction({0x1c1a160?, 0x35852e376220?}, 0x4?)
/root/go/pkg/mod/github.com/urfave/cli@v1.22.17/app.go:522 +0x50
github.com/urfave/cli.Command.Run({{0x2049a03, 0x4}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x2179c20, 0x11b}, {0x0, ...}, ...}, ...)
/root/go/pkg/mod/github.com/urfave/cli@v1.22.17/command.go:175 +0x6c6
github.com/urfave/cli.(*App).RunAsSubcommand(0x35852e312c40, 0x35852e29ef20)
/root/go/pkg/mod/github.com/urfave/cli@v1.22.17/app.go:405 +0xf85
github.com/urfave/cli.Command.startApp({{0x204f875, 0x6}, {0x0, 0x0}, {0x35852e3cdc70, 0x1, 0x1}, {0x2079127, 0x10}, {0x0, ...}, ...}, ...)
/root/go/pkg/mod/github.com/urfave/cli@v1.22.17/command.go:380 +0xc96
github.com/urfave/cli.Command.Run({{0x204f875, 0x6}, {0x0, 0x0}, {0x35852e3cdc70, 0x1, 0x1}, {0x2079127, 0x10}, {0x0, ...}, ...}, ...)
/root/go/pkg/mod/github.com/urfave/cli@v1.22.17/command.go:103 +0x825
github.com/urfave/cli.(*App).Run(0x35852e312700, {0x35852e0aa120, 0x6, 0x6})
/root/go/pkg/mod/github.com/urfave/cli@v1.22.17/app.go:277 +0xc45
main.execMain()
/var/jenkins_home/workspace/eco-system/release/jfrog-cli-release/temp/jfrog-cli/main.go:155 +0x5bc
main.main()
/var/jenkins_home/workspace/eco-system/release/jfrog-cli-release/temp/jfrog-cli/main.go:79 +0x1c
No crash.
Describe the bug
The jf CLI command crashes during its execution. The command executed is
Current behavior
Command
Output
Reproduction steps
Returns nothing
Expected behavior
No crash.
JFrog CLI version
jf version 2.104.0
Operating system type and version
Fedora Linux 44
JFrog Artifactory version
No response
JFrog Xray version
No response