Closed Lifelong-Study closed 4 years ago
panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xea1f3b]
goroutine 53 [running]: github.com/Arman92/go-tdlib.(Client).SendAndCatch(0x0, 0x1b31d20, 0xc000200cc0, 0x5, 0xc000205a98, 0x93fe8c77, 0xbfd9e98ddec3260e, 0xc00010c5a0, 0xc000188120) /home/parallels/go/src/github.com/Arman92/go-tdlib/tdlib.go:269 +0x1fb github.com/Arman92/go-tdlib.(Client).GetChats(0x0, 0x7fffffffffffffff, 0x0, 0x3e8, 0xd, 0xc00003b708, 0x1) /home/parallels/go/src/github.com/Arman92/go-tdlib/methods.go:905 +0x20a /home/parallels/Desktop/tglib/telegram.GetChatList(0x0, 0x3e8, 0x0, 0x0, 0x0, 0xc00002aac0, 0x1bda608) /home/parallels/Desktop/tglib/telegram/telegram.go:192 +0x70 /home/parallels/Desktop/tglib/telegram.UpdateTelegramGroupToDatabase(0x0) /home/parallels/Desktop/tglib/telegram/telegram.go:250 +0x73 main.ScanTelegramGroup() /home/parallels/Desktop/tglib/main.go:113 +0x2d created by main.(*Service).ListenEvents /home/parallels/Desktop/tglib/event.go:31 +0x313
Process finished with exit code 2
panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xea1f3b]
goroutine 53 [running]: github.com/Arman92/go-tdlib.(Client).SendAndCatch(0x0, 0x1b31d20, 0xc000200cc0, 0x5, 0xc000205a98, 0x93fe8c77, 0xbfd9e98ddec3260e, 0xc00010c5a0, 0xc000188120) /home/parallels/go/src/github.com/Arman92/go-tdlib/tdlib.go:269 +0x1fb github.com/Arman92/go-tdlib.(Client).GetChats(0x0, 0x7fffffffffffffff, 0x0, 0x3e8, 0xd, 0xc00003b708, 0x1) /home/parallels/go/src/github.com/Arman92/go-tdlib/methods.go:905 +0x20a /home/parallels/Desktop/tglib/telegram.GetChatList(0x0, 0x3e8, 0x0, 0x0, 0x0, 0xc00002aac0, 0x1bda608) /home/parallels/Desktop/tglib/telegram/telegram.go:192 +0x70 /home/parallels/Desktop/tglib/telegram.UpdateTelegramGroupToDatabase(0x0) /home/parallels/Desktop/tglib/telegram/telegram.go:250 +0x73 main.ScanTelegramGroup() /home/parallels/Desktop/tglib/main.go:113 +0x2d created by main.(*Service).ListenEvents /home/parallels/Desktop/tglib/event.go:31 +0x313
Process finished with exit code 2