bouskaJ opened a new issue #1308: Misleading error message in knative trait: cannot find event default URL: https://github.com/apache/camel-k/issues/1308 I get `error during trait customization: cannot find event default","errorVerbose":"cannot find event default` error when I run this integration `` from('timer:tick') .setBody().constant("Hello 1") .to('knative:event/hello.1') `` Without installed broker. (Without knative-eventing-injection=enabled label). This error message is very misleading and should be changed. Full log: ``` {"level":"error","ts":1582883671.1380556,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"integration-controller","request":"test/knativeevt2","error":"error during trait customization: cannot find event default","errorVerbose":"cannot find event default\ngithub.com/apache/camel-k/pkg/trait.(*knativeTrait).withServiceDo\n\t/go/src/github.com/apache/camel-k/pkg/trait/knative.go:388\ngithub.com/apache/camel-k/pkg/trait.(*knativeTrait).configureEvents\n\t/go/src/github.com/apache/camel-k/pkg/trait/knative.go:298\ngithub.com/apache/camel-k/pkg/trait.(*knativeTrait).Apply\n\t/go/src/github.com/apache/camel-k/pkg/trait/knative.go:182\ngithub.com/apache/camel-k/pkg/trait.(*Catalog).apply\n\t/go/src/github.com/apache/camel-k/pkg/trait/trait_catalog.go:249\ngithub.com/apache/camel-k/pkg/trait.Apply\n\t/go/src/github.com/apache/camel-k/pkg/trait/trait.go:46\ngithub.com/apache/camel-k/pkg/controller/integration.(*deployAction).Handle\n\t/go/src/github.com/apache/camel-k/pkg/controller/integration/deploy.go:56\ngithub.com/apache/camel-k/pkg/controller/integration.(*ReconcileIntegration).Reconcile\n\t/go/src/github.com/apache/camel-k/pkg/controller/integration/integration_controller.go:257\ngithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/src/github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:256\ngithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/src/github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:232\ngithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/go/src/github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:211\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:152\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:153\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.Until\n\t/go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88\nruntime.goexit\n\t/usr/lib/golang/src/runtime/asm_amd64.s:1357\nerror during trait customization\ngithub.com/apache/camel-k/pkg/trait.Apply\n\t/go/src/github.com/apache/camel-k/pkg/trait/trait.go:47\ngithub.com/apache/camel-k/pkg/controller/integration.(*deployAction).Handle\n\t/go/src/github.com/apache/camel-k/pkg/controller/integration/deploy.go:56\ngithub.com/apache/camel-k/pkg/controller/integration.(*ReconcileIntegration).Reconcile\n\t/go/src/github.com/apache/camel-k/pkg/controller/integration/integration_controller.go:257\ngithub.com/apache/camel-k/vendor/sigs.k8s.io/controller- ``` This error message is very misleading.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
