Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不配置monitor抛出异常 #43

Open
t-xinlin opened this issue Feb 27, 2020 · 0 comments
Open

不配置monitor抛出异常 #43

t-xinlin opened this issue Feb 27, 2020 · 0 comments

Comments

@t-xinlin
Copy link

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0xf10473]

goroutine 69 [running]:
github.com/huaweicse/cse-collector.(*Reporter).getData(0x0, 0xc000197080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
D:/gopath/pkg/mod/github.com/huaweicse/[email protected]/csemonitor.go:59 +0x143
github.com/huaweicse/cse-collector.(*Reporter).Send(0x0, 0xc000197080)
D:/gopath/pkg/mod/github.com/huaweicse/[email protected]/csemonitor.go:40 +0x15d
github.com/huaweicse/cse-collector.reportMetricsToCSEDashboard(0xc000197080, 0x28, 0x0)
D:/gopath/pkg/mod/github.com/huaweicse/[email protected]/cse_reporter.go:80 +0x5b
github.com/go-chassis/go-chassis/third_party/forked/afex/hystrix-go/hystrix.StartReporter()
D:/gopath/pkg/mod/github.com/go-chassis/[email protected]/third_party/forked/afex/hystrix-go/hystrix/reporter.go:38 +0xf6
created by github.com/go-chassis/go-chassis.(*chassis).initialize
D:/gopath/pkg/mod/github.com/go-chassis/[email protected]/chassis_init.go:158 +0x2b5

tianxiaoliang added a commit that referenced this issue Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant