Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x80ef]
goroutine 1 [running]:
main.run(0x977bd8, 0xc8200ceb70, 0xc82008ec00, 0x6, 0x8, 0xc820084900, 0x865, 0x0, 0x0, 0x0)
/drone/src/github.com/drone/drone-cli/drone/exec.go:252 +0x33f
main.execCmd(0xc820076ea0, 0x0, 0x0)
/drone/src/github.com/drone/drone-cli/drone/exec.go:202 +0x18f9
main.glob.func8(0xc820076ea0)
/drone/src/github.com/drone/drone-cli/drone/exec.go:25 +0x28
github.com/drone/drone-cli/vendor/github.com/codegangsta/cli.Command.Run(0x4e04b8, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x52c9e0, 0x16, 0x0, ...)
/drone/src/github.com/drone/drone-cli/vendor/github.com/codegangsta/cli/command.go:131 +0x1055
github.com/drone/drone-cli/vendor/github.com/codegangsta/cli.(*App).Run(0xc820076c60, 0xc82000a240, 0x2, 0x2, 0x0, 0x0)
/drone/src/github.com/drone/drone-cli/vendor/github.com/codegangsta/cli/app.go:175 +0xfd6
main.main()
/drone/src/github.com/drone/drone-cli/drone/main.go:44 +0x48f
goroutine 14 [select]:
net/http.(*persistConn).readLoop(0xc8200ea210)
/usr/local/go/src/net/http/transport.go:976 +0xac7
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:685 +0xc78
goroutine 15 [select]:
net/http.(*persistConn).writeLoop(0xc8200ea210)
/usr/local/go/src/net/http/transport.go:1009 +0x40c
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:686 +0xc9d
goroutine 17 [IO wait]:
net.runtime_pollWait(0x978d28, 0x72, 0xc8200121d0)
/usr/local/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc8200b3330, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc8200b3330, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc8200b32d0, 0xc820122000, 0x1000, 0x1000, 0x0, 0x973050, 0xc8200121d0)
/usr/local/go/src/net/fd_unix.go:232 +0x23a
net.(*conn).Read(0xc820030798, 0xc820122000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:172 +0xe4
net/http.noteEOFReader.Read(0x978ea8, 0xc820030798, 0xc8200ea478, 0xc820122000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1370 +0x67
net/http.(*noteEOFReader).Read(0xc8200df5e0, 0xc820122000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
<autogenerated>:126 +0xd0
bufio.(*Reader).fill(0xc8200e0d80)
/usr/local/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Peek(0xc8200e0d80, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:132 +0xcc
net/http.(*persistConn).readLoop(0xc8200ea420)
/usr/local/go/src/net/http/transport.go:876 +0xf7
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:685 +0xc78
goroutine 18 [select]:
net/http.(*persistConn).writeLoop(0xc8200ea420)
/usr/local/go/src/net/http/transport.go:1009 +0x40c
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:686 +0xc9d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.