Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Plugin fails with memory error when Disable public internet access is checked #11

@jrsamson

Description

@jrsamson

We checked "Disable public internet access" and getting the error when we execute:
"cf dfsh dataflow"

cf cli version - 6.43.0+815ea2f3d.2019-02-20
pas=2.4.2
mysql=2.5.3
rabbitmq=1.15.3
scdf version 1.3.2
vsphere

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x20 pc=0x6e6499]
 
goroutine 1 [running]:
github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/download/cache.fileExists(0xc042268270, 0xc6, 0x31)
        /go/src/github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/download/cache/cache.go:188 +0x89
github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/download/cache.(*fileCacheEntry).Retrieve(0xc0422662d0, 0xc042015860, 0x95, 0x935220, 0xc0422662d0, 0xc04226a032, 0xc0420737d0)
        /go/src/github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/download/cache/cache.go:132 +0x43
github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/download.(*downloader).DownloadFile(0xc042073a18, 0xc042015860, 0x95, 0x0, 0x0, 0x937f20, 0xc04203ddc0, 0x0, 0x7, 0x1, ...)
        /go/src/github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/download/download.go:152 +0x90
main.downloadAndRunShell(0x7ad5fe, 0x8, 0xc0421273e0, 0xc042073b10, 0x9335e0, 0xc042004018, 0x9374e0, 0xc0420e0320)
        /go/src/github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/plugin.go:141 +0x1b8
main.(*Plugin).Run.func3(0x9335e0, 0xc042004018, 0xc0420e82c0, 0x3d, 0x9335e0, 0xc042004018)
        /go/src/github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/plugin.go:91 +0x269
github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/format.RunAction(0x93af20, 0xc0420ee130, 0xc0420e82c0, 0x3d, 0xc042073d10, 0x9335e0, 0xc042004018, 0x7c34e8)
        /go/src/github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/format/action.go:41 +0xae
main.runAction(0xc042073cd8, 0x93af20, 0xc0420ee130, 0xc0420e82c0, 0x3d, 0xc042073d10)
        /go/src/github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/plugin.go:227 +0x90
main.(*Plugin).Run(0x982e70, 0x93af20, 0xc0420ee130, 0xc04200e460, 0x2, 0x2)
        /go/src/github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/plugin.go:92 +0x4ab
github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/vendor/code.cloudfoundry.org/cli/plugin.Start(0x935260, 0x982e70)
        /go/src/github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/vendor/code.cloudfoundry.org/cli/plugin/plugin_shim.go:34 +0x294
main.main()
        /go/src/github.com/pivotal-cf/spring-cloud-dataflow-for-pcf-cli-plugin/plugin.go:219 +0x6d

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions