Skip to Content
0
Jan 28, 2021 at 07:57 AM

CF deploy is throwing "invalid memory address or nil pointer dereference" error

229 Views Last edit Jan 28, 2021 at 07:58 AM 3 rev

Hi Community,

I am trying to deploy a mtar file to canary cloud foundry using the "cf deploy filename.mtar -m module_name" command. But this is printing an "invalid memory address or nil pointer dereference" error. Did any of you face this issue?

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x18 pc=0x4a3e89]
goroutine 274 [running]:
io.copyBuffer(0x0, 0x0, 0xa8b9a0, 0xc0002d0120, 0xc000192000, 0x8000, 0x8000, 0xa8acc0, 0xc0000540b0, 0x8f0de0)
        /usr/local/go/src/io/io.go:404 +0x1d9
io.Copy(...)
        /usr/local/go/src/io/io.go:364
github.com/cloudfoundry-incubator/multiapps-cli-plugin/vendor/github.com/go-openapi/runtime/client.(*request).BuildHTTP.func1(0xc00029a4e0, 0xc000546140, 0xc0000f6e70)
        /root/go/src/github.com/cloudfoundry-incubator/multiapps-cli-plugin/vendor/github.com/go-openapi/runtime/client/request.go:140 +0x399
created by github.com/cloudfoundry-incubator/multiapps-cli-plugin/vendor/github.com/go-openapi/runtime/client.(*request).BuildHTTP
        /root/go/src/github.com/cloudfoundry-incubator/multiapps-cli-plugin/vendor/github.com/go-openapi/runtime/client/request.go:113 +0x597

Thanks & Regards,

Mohit Sisodiya.