You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/12/31 13:52:43 UTC
[GitHub] [camel-k] apupier edited a comment on issue #1872: panic: runtime error: invalid memory address or nil pointer dereference with version 1.3.0 when calling without arguments
apupier edited a comment on issue #1872:
URL: https://github.com/apache/camel-k/issues/1872#issuecomment-752963404
it occurs also when using `--` or `-` version of commands:
```
(base) [apupier@linux camel-k-client-1.3.0-linux-64bit]$ ./kamel --help
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x18084b6]
goroutine 1 [running]:
github.com/spf13/cobra.(*Command).Name(0x0, 0xc00000e070, 0x1)
github.com/spf13/cobra@v1.0.0/command.go:1258 +0x26
github.com/apache/camel-k/pkg/cmd.createKamelWithModelineCommand(0x2161020, 0xc0006204c0, 0xc00000e070, 0x1, 0x1, 0xc00075c700, 0x1, 0xc0001a5c70, 0x315fa00, 0x7f3bcfcdf108, ...)
github.com/apache/camel-k/pkg/cmd/modeline.go:92 +0xf7
github.com/apache/camel-k/pkg/cmd.NewKamelWithModelineCommand(0x2161020, 0xc0006204c0, 0xc00000e060, 0x2, 0x2, 0xc0000e3f48, 0x445efa, 0x30dbae0, 0xc000000180, 0xc0000e3f78, ...)
github.com/apache/camel-k/pkg/cmd/modeline.go:64 +0x9b
main.main()
github.com/apache/camel-k/cmd/kamel/main.go:45 +0x163
```
although `kamel help` is working fine
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org