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 2022/04/14 06:17:32 UTC

[GitHub] [camel-k] tadayosi opened a new issue, #3203: Camel K CLI panics when unknown command is passed

tadayosi opened a new issue, #3203:
URL: https://github.com/apache/camel-k/issues/3203

   With the latest snapshot:
   ```
   $ ./kamel aaa
   panic: runtime error: invalid memory address or nil pointer dereference
   [signal SIGSEGV: segmentation violation code=0x1 addr=0x1f8 pc=0x1cf9de6]
   
   goroutine 1 [running]:
   github.com/spf13/cobra.(*Command).getErr(0x0, 0x2811540, 0xc000134010, 0x1, 0x1)
   	github.com/spf13/cobra@v1.4.0/command.go:344 +0x26
   github.com/spf13/cobra.(*Command).ErrOrStderr(...)
   	github.com/spf13/cobra@v1.4.0/command.go:325
   github.com/apache/camel-k/pkg/cmd.NewKamelWithModelineCommand(0x28598b8, 0xc000a27b40, 0xc00013a000, 0x2, 0x2, 0xc00008c748, 0x390dde0, 0x0, 0xc00008c778, 0xc000b3ff78, ...)
   	github.com/apache/camel-k/pkg/cmd/modeline.go:74 +0x426
   main.main()
   	command-line-arguments/main.go:44 +0x166
   ```
   For 1.8.2 it just shows:
   ```
   $ kamel182 aaa
   Error: unknown command "aaa" for "kamel"
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] tadayosi closed issue #3203: Camel K CLI panics when unknown command is passed

Posted by GitBox <gi...@apache.org>.
tadayosi closed issue #3203: Camel K CLI panics when unknown command is passed
URL: https://github.com/apache/camel-k/issues/3203


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org