runtime error: invalid memory address or nil pointer dereference in driver.Open
musicsnap opened this issue · 0 comments
wsarecv: A connection attempt failed because the connected party did not
properly respond after a period of time, or established connection failed because connected host has failed to respond.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x28 pc=0x9f4ad9]
goroutine 1 [running]:
github.com/gohouse/gorose/v2.(*Engin).GetExecuteDB(0x0, 0xc000226b40)
/github.com/gohouse/gorose/v2@v2.1.10/engin.go:114 +0x29
github.com/gohouse/gorose/v2.NewSession(0x10dcd80, 0x0, 0xfada60)
/github.com/gohouse/gorose/v2@v2.1.10/session.go:37 +0xb4
github.com/gohouse/gorose/v2.NewOrm(0x10dcd80, 0x0, 0x11)
/github.com/gohouse/gorose/v2@v2.1.10/orm.go:23 +0x5a
github.com/gohouse/gorose/v2.(*Engin).NewOrm(...)
/github.com/gohouse/gorose/v2@v2.1.10/engin.go:243
main.DB(...)
go_service/prototyped/model.go:152
main.api()
go_service/prototyped/main.go:158 +0x49
main.main()
go_service/prototyped/main.go:307 +0x27
exit status 2