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/08/30 08:12:13 UTC
[GitHub] [camel-k] squakez opened a new issue, #3586: Wrong KameletBinding definition leads to operator panic
squakez opened a new issue, #3586:
URL: https://github.com/apache/camel-k/issues/3586
Adding a wrong definition such as:
```
errorHandler:
sink:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: err-sink
```
leads to a camel k operator panic:
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1c7cd8d]
goroutine 555 [running]:
github.com/apache/camel-k/pkg/controller/kameletbinding.maybeErrorHandler(0x2281e96, {{0x26111c0, 0xc0002b3d70}, {0x268e200, 0xc000641380}, {0xc000e49140, 0xd}, {0x228a5fe, 0xa}})
github.com/apache/camel-k/pkg/controller/kameletbinding/error_handler.go:38 +0x10d
github.com/apache/camel-k/pkg/controller/kameletbinding.CreateIntegrationFor({0x26111c0, 0xc0002b3d70}, {0x268e200, 0xc000641380}, 0xc000d4ab40)
github.com/apache/camel-k/pkg/controller/kameletbinding/integration.go:112 +0x7f6
...
```
Any wrong definition should be treated and reported as an error without operator crash.
--
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] essobedo commented on issue #3586: Wrong KameletBinding definition leads to operator panic
Posted by GitBox <gi...@apache.org>.
essobedo commented on issue #3586:
URL: https://github.com/apache/camel-k/issues/3586#issuecomment-1233099866
The corresponding PR https://github.com/apache/camel-k/pull/3595
--
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
[GitHub] [camel-k] squakez closed issue #3586: Wrong KameletBinding definition leads to operator panic
Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez closed issue #3586: Wrong KameletBinding definition leads to operator panic
URL: https://github.com/apache/camel-k/issues/3586
--
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