Skip to content

Instantly share code, notes, and snippets.

@iandelahorne
Created June 30, 2014 22:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iandelahorne/cd78f1e59bb3863b8c7f to your computer and use it in GitHub Desktop.
Save iandelahorne/cd78f1e59bb3863b8c7f to your computer and use it in GitHub Desktop.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x198 pc=0x29670]
goroutine 1 [running]:
runtime.panic(0x23afa0, 0x519ed9)
/usr/local/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/rackspace/gophercloud.(*genericServersProvider).ServerById(0xc2102c5300, 0x2929d0, 0x8, 0x15, 0x0, ...)
/Users/ian/src/go/src/github.com/rackspace/gophercloud/servers.go:100 +0xd0
main.main()
/Users/ian/src/gotratt/serverbyid.go:36 +0x3e1
goroutine 4 [syscall]:
runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1394
goroutine 5 [IO wait]:
net.runtime_pollWait(0x6163a0, 0x72, 0x0)
/private/var/folders/00/0sdwh000h01000cxqpysvccm0035qk/T/makerelease260794574/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc21004b220, 0x72, 0x6150e8, 0x23)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc21004b220, 0x23, 0x6150e8)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc21004b1c0, 0xc21006c000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc210000360, 0xc21006c000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/net/net.go:122 +0xc5
crypto/tls.(*block).readFromUntil(0xc21005c2a0, 0x616520, 0xc210000360, 0x5, 0xc210000360, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:459 +0xb6
crypto/tls.(*Conn).readRecord(0xc21000b500, 0x17, 0x0, 0x8)
/usr/local/go/src/pkg/crypto/tls/conn.go:539 +0x107
crypto/tls.(*Conn).Read(0xc21000b500, 0xc2102a6000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:897 +0x135
bufio.(*Reader).fill(0xc2102a52a0)
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).Peek(0xc2102a52a0, 0x1, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/bufio/bufio.go:119 +0xcb
net/http.(*persistConn).readLoop(0xc210057300)
/usr/local/go/src/pkg/net/http/transport.go:687 +0xb7
created by net/http.(*Transport).dialConn
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607
goroutine 6 [select]:
net/http.(*persistConn).writeLoop(0xc210057300)
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(*Transport).dialConn
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e
goroutine 8 [runnable]:
net/http.(*persistConn).readLoop(0xc2102dd000)
/usr/local/go/src/pkg/net/http/transport.go:778 +0x68f
created by net/http.(*Transport).dialConn
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607
goroutine 9 [select]:
net/http.(*persistConn).writeLoop(0xc2102dd000)
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(*Transport).dialConn
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment