-
Bug
-
Resolution: Done
-
Blocker
-
1.4.0.Final
-
None
-
False
-
False
-
Undefined
-
-
---
-
---
-
When KogitoInfra pointing to Knative broker is used in KogitoRuntime then nil pointer dereference is thrown in operator.
Stacktrace:
E0222 17:23:54.913667 1 runtime.go:78] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference) goroutine 175 [running]: k8s.io/apimachinery/pkg/util/runtime.logPanic(0x18b5d40, 0x2bd9730) /go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/runtime/runtime.go:74 +0xa3 k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0) /go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/runtime/runtime.go:48 +0x82 panic(0x18b5d40, 0x2bd9730) /usr/local/go/src/runtime/panic.go:969 +0x166 github.com/kiegroup/kogito-cloud-operator/core/kogitoservice.(*serviceDeployer).fetchKogitoInfraProperties(0xc000633ea0, 0x1af6b2c, 0x1d, 0x0, 0x0, 0x0, 0x22, 0x1adbcc4, 0x6, 0xc00070f4a0) /workspace/core/kogitoservice/deployer_resources.go:264 +0x3b4 github.com/kiegroup/kogito-cloud-operator/core/kogitoservice.(*serviceDeployer).createRequiredResources(0xc000633ea0, 0x0, 0x0, 0x1) /workspace/core/kogitoservice/deployer_resources.go:68 +0xfbd github.com/kiegroup/kogito-cloud-operator/core/kogitoservice.(*serviceDeployer).Deploy(0xc000633ea0, 0x0, 0x0, 0x0) /workspace/core/kogitoservice/deployer.go:142 +0x279 github.com/kiegroup/kogito-cloud-operator/controllers.(*KogitoRuntimeReconciler).Reconcile(0xc000bd5180, 0xc00070f4a0, 0xa, 0xc005767380, 0x22, 0xc0015c47e0, 0xc001a24240, 0xc001a241b8, 0xc001a241b0) /workspace/controllers/kogitoruntime_controller.go:113 +0x76a sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler(0xc0002625a0, 0x1923d20, 0xc0015c4760, 0x0) /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:244 +0x284 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc0002625a0, 0x203000) /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:218 +0xae sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker(0xc0002625a0) /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:197 +0x2b k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0xc0055a4cc0) /go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/wait/wait.go:155 +0x5f k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0xc0055a4cc0, 0x1dd2180, 0xc000993dd0, 0x1, 0xc000ae2060) /go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/wait/wait.go:156 +0xa3 k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc0055a4cc0, 0x3b9aca00, 0x0, 0xc00070f501, 0xc000ae2060) /go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/wait/wait.go:133 +0x98 k8s.io/apimachinery/pkg/util/wait.Until(0xc0055a4cc0, 0x3b9aca00, 0xc000ae2060) /go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/wait/wait.go:90 +0x4d created by sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1 /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:179 +0x42d panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference
- is caused by
-
KOGITO-4059 Refactor Kogito operator into internal and core component
- Resolved