Skip to content

Instantly share code, notes, and snippets.

@dgozalo
Created June 23, 2020 13:28
Show Gist options
  • Save dgozalo/383fefbc5fb700f85a640c2efe6e59d4 to your computer and use it in GitHub Desktop.
Save dgozalo/383fefbc5fb700f85a640c2efe6e59d4 to your computer and use it in GitHub Desktop.
panic: runtime error: invalid memory address or nil pointer dereference │
│ [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x576112] │
│ │
│ goroutine 814 [running]: │
│ bufio.(*Writer).Flush(0xc00093f680, 0x1, 0x7fbecb748368) │
│ /usr/local/go/src/bufio/bufio.go:590 +0x62 │
│ net/http.(*response).Flush(0xc0006c4540) │
│ /usr/local/go/src/net/http/server.go:1640 +0x35 │
│ github.com/cloudbees/jxui-backend/pkg/controller.BackendLogWriter.StreamLog(0xc0010ef488, 0xc001322c00, 0x399a960, 0xc000c85b00, 0xc000c89b00, 0xc000c89b60, 0x0, 0x1) │
│ /workspace/source/pkg/controller/build_logs.go:113 +0x2b7 │
│ github.com/jenkins-x/jx/v2/pkg/logs.(*TektonLogger).syncStreamLog(0xc001338500) │
│ /workspace/source/go/pkg/mod/github.com/jenkins-x/jx/v2@v2.1.72/pkg/logs/tekton_logging.go:361 +0x4a │
│ created by github.com/jenkins-x/jx/v2/pkg/logs.(*TektonLogger).initializeLoggingRoutine │
│ /workspace/source/go/pkg/mod/github.com/jenkins-x/jx/v2@v2.1.72/pkg/logs/tekton_logging.go:525 +0xeb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment