runtime error: invalid memory address or nil pointer dereference
Opened this issue · 0 comments
Deleted user commented
deso-core 3.0.1
deso-rosetta 3.0.1
I0915 02:57:51.513357 1 server.go:3197] http: panic serving 10.225.60.35:36598: runtime error: invalid memory address or nil pointer dereference
goroutine 64477992 [running]:
net/http.(*conn).serve.func1()
/usr/local/go/src/net/http/server.go:1825 +0x148
panic({0x13d9880, 0x1d42170})
/usr/local/go/src/runtime/panic.go:844 +0x25a
github.com/deso-protocol/core/lib.(*Server).GetConnectionManager(0x0)
/build/core/lib/server.go:222 +0x20
github.com/deso-protocol/rosetta-deso/services.(*NetworkAPIService).NetworkStatus(0xc0006a5720, {0x18234e0, 0xc40c7ac0f0}, 0xc40b94efd0)
/build/rosetta-deso/services/network_service.go:33 +0x9f
github.com/coinbase/rosetta-sdk-go/server.(*NetworkAPIController).NetworkStatus(0xc00000f590, {0x1822f58, 0xc0003f4620}, 0xc40c7a6300)
/go/pkg/mod/github.com/coinbase/rosetta-sdk-go@v0.6.10/server/api_network.go:150 +0x38a
net/http.HandlerFunc.ServeHTTP(0xc0006a5790, {0x1822f58, 0xc0003f4620}, 0xc40c7a6300)
/usr/local/go/src/net/http/server.go:2084 +0x43
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0001fe180, {0x1822f58, 0xc0003f4620}, 0xc40c7a6300)
/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210 +0x25d
github.com/coinbase/rosetta-sdk-go/server.LoggerMiddleware.func1({0x1822f58, 0xc0003f4620}, 0xc40c7a6000)
/go/pkg/mod/github.com/coinbase/rosetta-sdk-go@v0.6.10/server/logger.go:31 +0x9d
net/http.HandlerFunc.ServeHTTP(0xc00000f7a0, {0x1822f58, 0xc0003f4620}, 0xc40c7a6000)
/usr/local/go/src/net/http/server.go:2084 +0x43
github.com/coinbase/rosetta-sdk-go/server.CorsMiddleware.func1({0x1822f58, 0xc0003f4620}, 0xc40c7a6000)
/go/pkg/mod/github.com/coinbase/rosetta-sdk-go@v0.6.10/server/routers.go:61 +0x247
net/http.HandlerFunc.ServeHTTP(0xc00000f7b8, {0x1822f58, 0xc0003f4620}, 0xc40c7a6000)
/usr/local/go/src/net/http/server.go:2084 +0x43
net/http.serverHandler.ServeHTTP({0xc0003f4380}, {0x1822f58, 0xc0003f4620}, 0xc40c7a6000)
/usr/local/go/src/net/http/server.go:2916 +0x474
net/http.(*conn).serve(0xc40c436000, {0x1823438, 0xc3b8993380})
/usr/local/go/src/net/http/server.go:1966 +0x193c
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:3071 +0x9cf