Skip to content

have an error:panic: runtime error: invalid memory address or nil pointer dereference #27

@yuxig

Description

@yuxig

Description

have an error
panic: runtime error: invalid memory address or nil pointer dereference
goroutine 1 [running]:
cf-html5-apps-repo-cli-plugin/clients.CreateServiceInstance(0x14ec9c0, 0xc0001401a0, 0xc00001c9f0, 0x24, 0xc00009bfe8, 0x8, 0xc0002d34a0, 0x24, 0x0, 0xc00001c9f0, ...)
/Users/i070970/go/src/cf-html5-apps-repo-cli-plugin/clients/create_service_instance.go:37 +0x36a
cf-html5-apps-repo-cli-plugin/commands.(*PushCommand).PushHTML5Applications(0x1801cc0, 0xc000140550, 0x1, 0x1, 0x0, 0x0, 0x0, 0xc000140510)
/Users/i070970/go/src/cf-html5-apps-repo-cli-plugin/commands/html5_push_command.go:409 +0x2263
cf-html5-apps-repo-cli-plugin/commands.(*PushCommand).Execute(0x1801cc0, 0xc0000940b0, 0x0, 0x0, 0xc0001401a0)
/Users/i070970/go/src/cf-html5-apps-repo-cli-plugin/commands/html5_push_command.go:83 +0x12a6
main.(*HTML5Plugin).Run(0x181ff48, 0x14ec9c0, 0xc0001401a0, 0xc0000940b0, 0x1, 0x1)
/Users/i070970/go/src/cf-html5-apps-repo-cli-plugin/html5_plugin.go:45 +0x1b1
cf-html5-apps-repo-cli-plugin/vendor/github.com/cloudfoundry/cli/plugin.Start(0x14e5fc0, 0x181ff48)
/Users/i070970/go/src/cf-html5-apps-repo-cli-plugin/vendor/github.com/cloudfoundry/cli/plugin/plugin_shim.go:30 +0x276
main.main()
/Users/i070970/go/src/cf-html5-apps-repo-cli-plugin/html5_plugin.go:65 +0x3d

Environment

  • Plugin version (e.g. 1.3.0) -
  • OS (macOS/Windows) - os
  • SAP CF Landscape (e.g. Canary) -
  • IaaS provider (e.g. AWS) -
  • Region (e.g. eu10) -

CLI Output

Set environment variable DEBUG=1, run the flow and paste output here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions