jasoncarreira opened a new issue #1543:
URL: https://github.com/apache/camel-k/issues/1543


   I had a previous kamel CLI RC installed and just upgraded to 1.0. I 
installed initially with homebrew and have also uninstalled that way and 
installed from the mac binary on GitHub. Both give the same error:
   
   kamel install
   panic: runtime error: invalid memory address or nil pointer dereference
   [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x1441556]
   
   goroutine 1 [running]:
   k8s.io/apimachinery/pkg/runtime.(*Scheme).convertToVersion(0xc0003bfdc0, 
0x24b9a00, 0x29c7000, 0xc00040a460, 0x0, 0x0, 0x26c15e0, 0xc00040a460, 
0x2a3fac0, 0x26c15e0)
        k8s.io/[email protected]/pkg/runtime/scheme.go:527 +0x296
   k8s.io/apimachinery/pkg/runtime.(*Scheme).UnsafeConvertToVersion(...)
        k8s.io/[email protected]/pkg/runtime/scheme.go:493
   
k8s.io/apimachinery/pkg/runtime.unsafeObjectConvertor.ConvertToVersion(0xc0003bfdc0,
 0x29c7000, 0xc00040a460, 0x0, 0x0, 0x0, 0x0, 0x29c7000, 0xc00040a460)
        k8s.io/[email protected]/pkg/runtime/helper.go:39 +0x5f
   
k8s.io/apimachinery/pkg/runtime/serializer/versioning.(*codec).Decode(0xc00040a1e0,
 0xc0000e0600, 0x15a, 0x600, 0xc0004e6780, 0x0, 0x0, 0x15a, 0x600, 
0xc000359d00, ...)
        
k8s.io/[email protected]/pkg/runtime/serializer/versioning/versioning.go:171 
+0x34c
   k8s.io/client-go/rest.Result.Error(0xc0000e0600, 0x15a, 0x600, 0xc000359d00, 
0x10, 0x29b0fc0, 0xc00040a320, 0x199, 0x3fc6eb0, 0xc00040a1e0, ...)
        k8s.io/[email protected]+incompatible/rest/request.go:1218 +0x11a
   github.com/apache/camel-k/pkg/install.installCRD(0x29fa480, 0xc0002c7c80, 
0x2a4a9e0, 0xc000290b10, 0x2729c69, 0x13, 0x273a4a3, 0x1d, 0x0, 0x272c533, ...)
        github.com/apache/camel-k@/pkg/install/cluster.go:197 +0x42f
   
github.com/apache/camel-k/pkg/install.SetupClusterWideResourcesOrCollect(0x29fa480,
 0xc0002c7c80, 0xc0000b79c8, 0x0, 0xc000500042, 0x5)
        github.com/apache/camel-k@/pkg/install/cluster.go:48 +0xb0
   github.com/apache/camel-k/pkg/cmd.(*installCmdOptions).install(0xc000159b00, 
0xc00003a840, 0x3810e30, 0x0, 0x0, 0x0, 0x0)
        github.com/apache/camel-k@/pkg/cmd/install.go:219 +0x1502
   github.com/apache/camel-k/pkg/cmd.newCmdInstall.func1(0xc00003a840, 
0x3810e30, 0x0, 0x0, 0x0, 0x0)
        github.com/apache/camel-k@/pkg/cmd/install.go:62 +0xa4
   github.com/spf13/cobra.(*Command).execute(0xc00003a840, 0x3810e30, 0x0, 0x0, 
0xc00003a840, 0x3810e30)
        github.com/spf13/[email protected]/command.go:842 +0x460
   github.com/spf13/cobra.(*Command).ExecuteC(0xc0001a0dc0, 0xc0002c7c80, 
0xc0000be020, 0x2)
        github.com/spf13/[email protected]/command.go:950 +0x349
   github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/[email protected]/command.go:887
   main.main()
        github.com/apache/camel-k@/cmd/kamel/main.go:47 +0x1af


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


Reply via email to