I am trying to use the Things Stack CLI to retrieve end device information. The following command is throwing an error:
ttn-lw-cli end-devices get bmon-an lsn50-alder-boiler-95f4 --formatters.up-formatter
And here is the error:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x14e12e6]
goroutine 1 [running]:
go.thethings.network/lorawan-stack/v3/cmd/ttn-lw-cli/commands.getEndDevice(0xc0000ca6c0, {0xc00028c9b0, 0x0, 0x0}, {0xc00028c9c0, 0xc00059bd08, 0x97afe5}, {0xc00028c9d0, 0x0, 0x1}, ...)
/home/runner/work/lorawan-stack/lorawan-stack/cmd/ttn-lw-cli/commands/end_devices_split.go:135 +0x9a6
go.thethings.network/lorawan-stack/v3/cmd/ttn-lw-cli/commands.glob..func83(0x2a2b160, {0xc00061d8f0, 0x2, 0x3})
/home/runner/work/lorawan-stack/lorawan-stack/cmd/ttn-lw-cli/commands/end_devices.go:328 +0x9c7
github.com/spf13/cobra.(*Command).execute(0x2a2b160, {0xc00061d8c0, 0x3, 0x3})
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:852 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0x2a38360)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:960 +0x3ad
main.main()
/home/runner/work/lorawan-stack/lorawan-stack/cmd/ttn-lw-cli/main.go:27 +0x25
Any help?