{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24606","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24606/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24606/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24606/events","html_url":"https://github.com/kubernetes/kubernetes/issues/24606","id":150132390,"number":24606,"title":"kubectl panic: runtime error: invalid memory address or nil pointer dereference","user":{"login":"rthellend","id":8751658,"avatar_url":"https://avatars2.githubusercontent.com/u/8751658?v=4","gravatar_id":"","url":"https://api.github.com/users/rthellend","html_url":"https://github.com/rthellend","followers_url":"https://api.github.com/users/rthellend/followers","following_url":"https://api.github.com/users/rthellend/following{/other_user}","gists_url":"https://api.github.com/users/rthellend/gists{/gist_id}","starred_url":"https://api.github.com/users/rthellend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rthellend/subscriptions","organizations_url":"https://api.github.com/users/rthellend/orgs","repos_url":"https://api.github.com/users/rthellend/repos","events_url":"https://api.github.com/users/rthellend/events{/privacy}","received_events_url":"https://api.github.com/users/rthellend/received_events","type":"User","site_admin":false},"labels":[{"id":126701924,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/app-lifecycle","name":"area/app-lifecycle","color":"0052cc","default":false},{"id":138247961,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/kubectl","name":"area/kubectl","color":"0052cc","default":false},{"id":105146071,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false},{"id":114528273,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/backlog","name":"priority/backlog","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-04-21T16:56:43Z","updated_at":"2018-04-13T21:27:57Z","closed_at":"2016-05-18T04:54:54Z","author_association":"NONE","body":"This is on GKE. Everything at version 1.2.2.\n\n```\n$ kubectl rollout history deployment nginx\npanic: runtime error: invalid memory address or nil pointer dereference\n[signal 0xb code=0x1 addr=0xb8 pc=0xe1affa]\n\ngoroutine 1 [running]:\nk8s.io/kubernetes/pkg/util/deployment.Revision(0x0, 0xc2083a2420, 0x0, 0x0)\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/util/deployment/deployment.go:328 +0x4a\nk8s.io/kubernetes/pkg/kubectl.(*DeploymentHistoryViewer).History(0xc20812ccb0, 0x1623b40, 0x7, 0x7ffdd08fdee9, 0x5, 0x0, 0x0, 0x0)\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/kubectl/history.go:80 +0x7ea\nk8s.io/kubernetes/pkg/kubectl/cmd/rollout.RunHistory(0xc208134960, 0xc2081ada00, 0x7fd3570f4030, 0xc20804e008, 0xc2081af1c0, 0x2, 0x2, 0xc2081ae260, 0x0, 0x0)\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/kubectl/cmd/rollout/rollout_history.go:98 +0x8a8\nk8s.io/kubernetes/pkg/kubectl/cmd/rollout.func·002(0xc2081ada00, 0xc2081af1c0, 0x2, 0x2)\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/kubectl/cmd/rollout/rollout_history.go:55 +0x6f\ngithub.com/spf13/cobra.(*Command).execute(0xc2081ada00, 0xc2081af040, 0x2, 0x2, 0x0, 0x0)\n        /go/src/k8s.io/kubernetes/Godeps/_workspace/src/github.com/spf13/cobra/command.go:572 +0x82f\ngithub.com/spf13/cobra.(*Command).ExecuteC(0xc20806d600, 0xc2081ada00, 0x0, 0x0)\n        /go/src/k8s.io/kubernetes/Godeps/_workspace/src/github.com/spf13/cobra/command.go:662 +0x4db\ngithub.com/spf13/cobra.(*Command).Execute(0xc20806d600, 0x0, 0x0)\n        /go/src/k8s.io/kubernetes/Godeps/_workspace/src/github.com/spf13/cobra/command.go:618 +0x3a\nk8s.io/kubernetes/cmd/kubectl/app.Run(0x0, 0x0)\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubectl/app/kubectl.go:28 +0x101\nmain.main()\n        /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubectl/kubectl.go:28 +0x2f\n```\n\n```\n$ kubectl version\nClient Version: version.Info{Major:\"1\", Minor:\"2\", GitVersion:\"v1.2.2\", GitCommit:\"528f879e7d3790ea4287687ef0ab3f2a01cc2718\", GitTreeState:\"clean\"}\nServer Version: version.Info{Major:\"1\", Minor:\"2\", GitVersion:\"v1.2.2\", GitCommit:\"528f879e7d3790ea4287687ef0ab3f2a01cc2718\", GitTreeState:\"clean\"}\n```\n\n@ivanpi-mtv @kenashcraft\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/381264984","html_url":"https://github.com/kubernetes/kubernetes/issues/24606#issuecomment-381264984","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/24606","id":381264984,"user":{"login":"dasjestyr","id":3200529,"avatar_url":"https://avatars2.githubusercontent.com/u/3200529?v=4","gravatar_id":"","url":"https://api.github.com/users/dasjestyr","html_url":"https://github.com/dasjestyr","followers_url":"https://api.github.com/users/dasjestyr/followers","following_url":"https://api.github.com/users/dasjestyr/following{/other_user}","gists_url":"https://api.github.com/users/dasjestyr/gists{/gist_id}","starred_url":"https://api.github.com/users/dasjestyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dasjestyr/subscriptions","organizations_url":"https://api.github.com/users/dasjestyr/orgs","repos_url":"https://api.github.com/users/dasjestyr/repos","events_url":"https://api.github.com/users/dasjestyr/events{/privacy}","received_events_url":"https://api.github.com/users/dasjestyr/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T21:27:56Z","updated_at":"2018-04-13T21:27:56Z","author_association":"NONE","body":"I seem to have the same error but only if I run it from powershell like `iex \"kubectl set env -n $n deploy/deployment-name DEPLOY_DATE=$(Get-Date)\"`\r\n\r\nIf i run the exact same command outside of the script, it works fine. Any suggestions?"}}
{"actor":{"display_login":"dasjestyr"}}