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 2021/03/25 07:52:58 UTC

[GitHub] [camel-k] apupier commented on issue #1543: Kamel 1.0 fails on install on mac

apupier commented on issue #1543:
URL: https://github.com/apache/camel-k/issues/1543#issuecomment-806442478


   I hit very similar stacktrace than the initial one:
   
   ```
   sh-5.0$ kamel install --olm=false
   panic: runtime error: invalid memory address or nil pointer dereference
   [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x8def36]
   
   goroutine 1 [running]:
   k8s.io/apimachinery/pkg/runtime.(*Scheme).convertToVersion(0xc0002056c0, 0x1b60900, 0x212c6c0, 0xc000442320, 0x0, 0x0, 0x1db2c20, 0xc000442320, 0x2198f00, 0x1db2c20)
           k8s.io/apimachinery@v0.18.9/pkg/runtime/scheme.go:488 +0x296
   k8s.io/apimachinery/pkg/runtime.(*Scheme).UnsafeConvertToVersion(...)
           k8s.io/apimachinery@v0.18.9/pkg/runtime/scheme.go:454
   k8s.io/apimachinery/pkg/runtime.unsafeObjectConvertor.ConvertToVersion(0xc0002056c0, 0x212c6c0, 0xc000442320, 0x0, 0x0, 0x0, 0x0, 0x212c6c0, 0xc000442320)
           k8s.io/apimachinery@v0.18.9/pkg/runtime/helper.go:39 +0x5f
   k8s.io/apimachinery/pkg/runtime/serializer/versioning.(*codec).Decode(0xc000442140, 0xc000234c00, 0x1a6, 0x600, 0xc000668ae0, 0x0, 0x0, 0x1a6, 0x600, 0xc00030a010, ...)
           k8s.io/apimachinery@v0.18.9/pkg/runtime/serializer/versioning/versioning.go:171 +0x34c
   k8s.io/client-go/rest.Result.Error(0xc000234c00, 0x1a6, 0x600, 0xc00030a010, 0x10, 0x21151c0, 0xc000442280, 0x193, 0x7f7a91b510a0, 0xc000442140, ...)
           k8s.io/client-go@v12.0.0+incompatible/rest/request.go:1269 +0x10d
   github.com/apache/camel-k/pkg/install.installCRD(0x2161220, 0xc0006dc440, 0x21a4f80, 0xc00044d140, 0x1e29caf, 0x13, 0x1e128bb, 0x2, 0x1e3cc28, 0x1d, ...)
           github.com/apache/camel-k/pkg/install/cluster.go:218 +0x466
   github.com/apache/camel-k/pkg/install.SetupClusterWideResourcesOrCollect(0x2161220, 0xc0006dc440, 0xc000929a08, 0x0, 0x2, 0xc0004f3968)
           github.com/apache/camel-k/pkg/install/cluster.go:49 +0xc8
   github.com/apache/camel-k/pkg/cmd.(*installCmdOptions).install(0xc0006278c0, 0xc0006ee840, 0xc00041d700, 0x0, 0x1, 0x0, 0x0)
           github.com/apache/camel-k/pkg/cmd/install.go:232 +0x15e4
   github.com/apache/camel-k/pkg/cmd.newCmdInstall.func1(0xc0006ee840, 0xc00041d700, 0x0, 0x1, 0x0, 0x0)
           github.com/apache/camel-k/pkg/cmd/install.go:62 +0xa4
   github.com/spf13/cobra.(*Command).execute(0xc0006ee840, 0xc00041d6f0, 0x1, 0x1, 0xc0006ee840, 0xc00041d6f0)
           github.com/spf13/cobra@v1.0.0/command.go:842 +0x453
   github.com/spf13/cobra.(*Command).ExecuteC(0xc0002b3080, 0xc0006dc400, 0xc00004e0c0, 0x3)
           github.com/spf13/cobra@v1.0.0/command.go:950 +0x349
   github.com/spf13/cobra.(*Command).Execute(...)
           github.com/spf13/cobra@v1.0.0/command.go:887
   main.main()
           github.com/apache/camel-k/cmd/kamel/main.go:48 +0x17b
           
   ```
   
   context:
   - kamel 1.3.1
   - in CodeReady Workspaces from Red Hat Developer sandbox


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