telegramgo icon indicating copy to clipboard operation
telegramgo copied to clipboard

Getting panic: runtime error: invalid memory address or nil pointer dereference

Open zhangyubaka opened this issue 7 years ago • 0 comments

goroutine 8 [running]:
github.com/shelomentsevd/mtproto.(*Network).Read(0xc420062120, 0x0, 0x0, 0x0, 0x0)
	/usr/local/share/GOPATH/src/github.com/shelomentsevd/mtproto/network.go:220 +0x7a
github.com/shelomentsevd/mtproto.(*MTProto).readRoutine.func2(0xc42008e210, 0xc4200622a0)
	/usr/local/share/GOPATH/src/github.com/shelomentsevd/mtproto/mtproto.go:266 +0x49
created by github.com/shelomentsevd/mtproto.(*MTProto).readRoutine
	/usr/local/share/GOPATH/src/github.com/shelomentsevd/mtproto/mtproto.go:265 +0xef

zhangyubaka avatar Dec 18 '17 07:12 zhangyubaka