Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html5-list failed due to broker error #16

Closed
micellius opened this issue Oct 6, 2019 · 0 comments
Closed

html5-list failed due to broker error #16

micellius opened this issue Oct 6, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@micellius
Copy link
Member

Description

When service html5-apps-repo broker returns error to cloud controller, html5-plugin crashes with panic runtime error and prints stack trace. This may happen with any plugin command that requires creation of new service instance or service key (e.g cf html5-list).

Environment

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

CLI Output

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0x746fc1]
 
goroutine 1 [running]:
cf-html5-apps-repo-cli-plugin/clients.CreateServiceKey(0x8c3dc0, 0xc000040190, 0xc0002cca80, 0x24, 0x1, 0x1, 0x1)
        cf-html5-apps-repo-cli-plugin/clients/create_service_key.go:37 +0x341
cf-html5-apps-repo-cli-plugin/commands.(*HTML5Command).GetHTML5Context(0xbb8880, 0xc0000104d0, 0x7, 0xc000010700, 0x10, 0xc00000c9f0, 0x24, 0xc000118140, 0x7, 0xc00010e240, ...)
        cf-html5-apps-repo-cli-plugin/commands/html5_base_command.go:100 +0x77f
cf-html5-apps-repo-cli-plugin/commands.(*ListCommand).ListSpaceApps(0xbb8880, 0x23)
        cf-html5-apps-repo-cli-plugin/commands/html5_list_command.go:388 +0x43d
cf-html5-apps-repo-cli-plugin/commands.(*ListCommand).Execute(0xbb8880, 0xc0000560f0, 0x0, 0x1, 0xc000040190)
        cf-html5-apps-repo-cli-plugin/commands/html5_list_command.go:49 +0xcd8
main.(*HTML5Plugin).Run(0xbd4a00, 0x8c3dc0, 0xc000040190, 0xc0000560e0, 0x1, 0x2)
        cf-html5-apps-repo-cli-plugin/html5_plugin.go:43 +0x1b8
cf-html5-apps-repo-cli-plugin/vendor/github.com/cloudfoundry/cli/plugin.Start(0x8bd900, 0xbd4a00)
        cf-html5-apps-repo-cli-plugin/vendor/github.com/cloudfoundry/cli/plugin/plugin_shim.go:30 +0x27d
main.main()
        cf-html5-apps-repo-cli-plugin/html5_plugin.go:63 +0x44
@micellius micellius self-assigned this Oct 6, 2019
@micellius micellius added the bug Something isn't working label Oct 6, 2019
@micellius micellius added this to To do in html5-plugin via automation Oct 6, 2019
@micellius micellius added this to the v1.4.0 - Beryllium milestone Oct 6, 2019
@micellius micellius moved this from To do to In progress in html5-plugin Oct 6, 2019
html5-plugin automation moved this from In progress to Done Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
html5-plugin
  
Done
Development

No branches or pull requests

1 participant