Recovered from panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)

Solution Verified - Updated -

Issue

  • Master URL not accessible.
  • Atomic-openshift-master-api logs reports below errors :
Jun 27 23:41:04 master.example.com atomic-openshift-master-api[74645]: E0627 23:41:04.489211   74645 runtime.go:58] Recovered from panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
Jun 27 23:41:04 master.example.com atomic-openshift-master-api[74645]: /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/util/runtime/runtime.go:52
Jun 27 23:41:04 master.example.com atomic-openshift-master-api[74645]: /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/util/runtime/runtime.go:40
Jun 27 23:41:04 master.example.com atomic-openshift-master-api[74645]: /usr/lib/golang/src/runtime/asm_amd64.s:402
Jun 27 23:41:04 master.example.com atomic-openshift-master-api[74645]: /usr/lib/golang/src/runtime/panic.go:387
Jun 27 23:41:04 master.example.com atomic-openshift-master-api[74645]: /usr/lib/golang/src/runtime/panic.go:42
Jun 27 23:41:04 master.example.com atomic-openshift-master-api[74645]: /usr/lib/golang/src/runtime/sigpanic_unix.go:26
Jun 27 23:41:04 master.example.com atomic-openshift-master-api[74645]: /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_build/src/github.com/openshift/origin/pkg/image/registry/imagestreamimport/rest.go:181
Jun 27 23:41:04 master.example.com atomic-openshift-master-api[74645]: /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/apiserver/resthandler.go:437
Jun 27 23:41:04 master.example.com atomic-openshift-master-api[74645]: /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/apiserver/resthandler.go:400
Jun 27 23:41:04 master.example.com atomic-openshift-master-api[74645]: /builddir/build/BUILD/atomic-openshift-git-0.9fe156c/_thirdpartyhacks/src/k8s.io/kubernetes/pkg/apiserver/resthandler.go:916
Jun 27 23:41:04 master.example.com atomic-openshift-master-api[74645]: /usr/lib/golang/src/runtime/asm_amd64.s:2232
Jun 27 23:41:04 master.example.com atomic-openshift-master-api[74645]: I0627 23:41:04.489317   74645 trace.go:57] Trace "Create /oapi/v1/namespaces/rseibe1-free/imagestreamimports" (started 2017-06-27 23:41:03.451174599 -0500 CDT):

Environment

  • Openshift Container Platform
    • 3.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content