Skip to content

Instantly share code, notes, and snippets.

@afrittoli
Created October 15, 2019 13:50
Show Gist options
  • Save afrittoli/d55fb5a2e9b65cf5bd922aa9d18f5fcb to your computer and use it in GitHub Desktop.
Save afrittoli/d55fb5a2e9b65cf5bd922aa9d18f5fcb to your computer and use it in GitHub Desktop.
ERROR: logging before flag.Parse: E1015 14:50:07.910232 45439 runtime.go:69] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
/go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:76
/go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:65
/go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:51
/usr/local/Cellar/go/1.12.4/libexec/src/runtime/panic.go:522
/usr/local/Cellar/go/1.12.4/libexec/src/runtime/panic.go:82
/usr/local/Cellar/go/1.12.4/libexec/src/runtime/signal_unix.go:390
/go/src/github.com/tektoncd/cli/pkg/helper/pipelinerun/tracker.go:113
/go/src/github.com/tektoncd/cli/pkg/helper/pipelinerun/tracker.go:113
/go/src/github.com/tektoncd/cli/pkg/helper/pipelinerun/tracker.go:76
/go/pkg/mod/k8s.io/[email protected]/tools/cache/controller.go:195
/go/pkg/mod/k8s.io/[email protected]/tools/cache/shared_informer.go:554
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:203
/go/pkg/mod/k8s.io/[email protected]/tools/cache/shared_informer.go:548
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:133
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:134
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:88
/go/pkg/mod/k8s.io/[email protected]/tools/cache/shared_informer.go:546
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:71
/usr/local/Cellar/go/1.12.4/libexec/src/runtime/asm_amd64.s:1337
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x1ed3fd0]
goroutine 63 [running]:
k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
/go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:58 +0x105
panic(0x2086e40, 0x31251d0)
/usr/local/Cellar/go/1.12.4/libexec/src/runtime/panic.go:522 +0x1b5
github.com/tektoncd/cli/pkg/helper/taskrun.HasScheduled(...)
/go/src/github.com/tektoncd/cli/pkg/helper/taskrun/taskrun.go:54
github.com/tektoncd/cli/pkg/helper/pipelinerun.(*Tracker).findNewTaskruns(0xc000343900, 0xc000204480, 0x315b098, 0x0, 0x0, 0xc00048a180, 0xc00048a208, 0xc00066aef8)
/go/src/github.com/tektoncd/cli/pkg/helper/pipelinerun/tracker.go:113 +0x2a0
github.com/tektoncd/cli/pkg/helper/pipelinerun.(*Tracker).Monitor.func2(0x2214560, 0xc000204480)
/go/src/github.com/tektoncd/cli/pkg/helper/pipelinerun/tracker.go:76 +0x96
k8s.io/client-go/tools/cache.ResourceEventHandlerFuncs.OnAdd(...)
/go/pkg/mod/k8s.io/[email protected]/tools/cache/controller.go:195
k8s.io/client-go/tools/cache.(*processorListener).run.func1.1(0x0, 0x0, 0x0)
/go/pkg/mod/k8s.io/[email protected]/tools/cache/shared_informer.go:554 +0x26d
k8s.io/apimachinery/pkg/util/wait.ExponentialBackoff(0x989680, 0x3ff0000000000000, 0x3fb999999999999a, 0x5, 0xc000082e38, 0x102cb0f, 0xc00010c210)
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:203 +0xde
k8s.io/client-go/tools/cache.(*processorListener).run.func1()
/go/pkg/mod/k8s.io/[email protected]/tools/cache/shared_informer.go:548 +0x89
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc000424f68)
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:133 +0x54
k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc000082f68, 0xdf8475800, 0x0, 0x102d301, 0xc00056d0e0)
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:134 +0xf8
k8s.io/apimachinery/pkg/util/wait.Until(...)
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:88
k8s.io/client-go/tools/cache.(*processorListener).run(0xc0005b6c80)
/go/pkg/mod/k8s.io/[email protected]/tools/cache/shared_informer.go:546 +0x9c
k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1(0xc0001259c0, 0xc0005a7b90)
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:71 +0x4f
created by k8s.io/apimachinery/pkg/util/wait.(*Group).Start
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:69 +0x62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment