{"action":"opened","issue":{"url":"https://api.github.com/repos/jenkins-x/jx/issues/710","repository_url":"https://api.github.com/repos/jenkins-x/jx","labels_url":"https://api.github.com/repos/jenkins-x/jx/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/jenkins-x/jx/issues/710/comments","events_url":"https://api.github.com/repos/jenkins-x/jx/issues/710/events","html_url":"https://github.com/jenkins-x/jx/issues/710","id":317654871,"number":710,"title":"jx crashes after entering github username","user":{"login":"jtnord","id":494726,"avatar_url":"https://avatars1.githubusercontent.com/u/494726?v=4","gravatar_id":"","url":"https://api.github.com/users/jtnord","html_url":"https://github.com/jtnord","followers_url":"https://api.github.com/users/jtnord/followers","following_url":"https://api.github.com/users/jtnord/following{/other_user}","gists_url":"https://api.github.com/users/jtnord/gists{/gist_id}","starred_url":"https://api.github.com/users/jtnord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtnord/subscriptions","organizations_url":"https://api.github.com/users/jtnord/orgs","repos_url":"https://api.github.com/users/jtnord/repos","events_url":"https://api.github.com/users/jtnord/events{/privacy}","received_events_url":"https://api.github.com/users/jtnord/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-25T14:31:28Z","updated_at":"2018-04-25T14:31:28Z","closed_at":null,"author_association":"NONE","body":"no idea if this is reproducible or not but after I entered my github username (as part of the `jx create cluster gke` flow) jx crashed\r\n\r\n```\r\nnginx ingress controller installed and configured\r\nLets set up a git username and API token to be able to perform CI/CD\r\n\r\n? GitHub username for CI/CD pipelines:\r\npanic: runtime error: invalid memory address or nil pointer dereference\r\n[signal 0xc0000005 code=0x0 addr=0x28 pc=0x166ec20]\r\n\r\ngoroutine 1 [running]:\r\ngithub.com/jenkins-x/jx/pkg/auth.(*UserAuth).IsInvalid(...)\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/pkg/auth/user_auth.go:26\r\ngithub.com/jenkins-x/jx/pkg/jx/cmd.(*InstallOptions).getGitUser(0xc0420a8b28, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/pkg/jx/cmd/install.go:708 +0x200\r\ngithub.com/jenkins-x/jx/pkg/jx/cmd.(*InstallOptions).getGitToken(0xc0420a8b28, 0x7, 0x1b081dd, 0x6, 0x1b07a49, 0x5, 0x1b20c88)\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/pkg/jx/cmd/install.go:627 +0xef\r\ngithub.com/jenkins-x/jx/pkg/jx/cmd.(*InstallOptions).getGitSecrets(0xc0420a8b28, 0x0, 0x0, 0x1b0a6c0, 0x7)\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/pkg/jx/cmd/install.go:585 +0x4a\r\ngithub.com/jenkins-x/jx/pkg/jx/cmd.(*InstallOptions).Run(0xc0420a8b28, 0xc042072960, 0x22)\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/pkg/jx/cmd/install.go:292 +0x72e\r\ngithub.com/jenkins-x/jx/pkg/jx/cmd.(*CreateClusterOptions).initAndInstall(0xc0420a8a80, 0x1b060e0, 0x3, 0xc042072960, 0x10)\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/pkg/jx/cmd/create_cluster.go:150 +0x6f\r\ngithub.com/jenkins-x/jx/pkg/jx/cmd.(*CreateClusterGKEOptions).createClusterGKE(0xc0420a8a80, 0x1b060e0, 0x3)\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/pkg/jx/cmd/create_cluster_gke.go:258 +0x6a9\r\ngithub.com/jenkins-x/jx/pkg/jx/cmd.(*CreateClusterGKEOptions).Run(0xc0420a8a80, 0xc0426e1c50, 0x0)\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/pkg/jx/cmd/create_cluster_gke.go:118 +0x6e\r\ngithub.com/jenkins-x/jx/pkg/jx/cmd.NewCmdCreateClusterGKE.func1(0xc042136c80, 0x28899b0, 0x0, 0x0)\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/pkg/jx/cmd/create_cluster_gke.go:89 +0x7a\r\ngithub.com/jenkins-x/jx/vendor/github.com/spf13/cobra.(*Command).execute(0xc042136c80, 0x28899b0, 0x0, 0x0, 0xc042136c80, 0x28899b0)\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/vendor/github.com/spf13/cobra/command.go:766 +0x2c8\r\ngithub.com/jenkins-x/jx/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc04209b180, 0xc042281180, 0xc042036f00, 0xc04212e500)\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/vendor/github.com/spf13/cobra/command.go:852 +0x33b\r\ngithub.com/jenkins-x/jx/vendor/github.com/spf13/cobra.(*Command).Execute(0xc04209b180, 0xc0426ed940, 0x272d9a0)\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/vendor/github.com/spf13/cobra/command.go:800 +0x32\r\ngithub.com/jenkins-x/jx/cmd/jx/app.Run(0xc042022000, 0x16d1190)\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/cmd/jx/app/jx.go:18 +0x97\r\nmain.main()\r\n        /home/jenkins/go/src/github.com/jenkins-x/jx/cmd/jx/jx.go:10 +0x29\r\n\r\n```"}}
{"actor":{"display_login":"jtnord"}}