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

Pay运行时出错: panic: runtime error: invalid memory address or nil pointer dereference #1

Open
refiny opened this issue Feb 15, 2022 · 0 comments

Comments

@refiny
Copy link

refiny commented Feb 15, 2022

在运行Pay项目时,报出如下错误:

2022-02-16 05:54:04.022208018   INFO    cmd/main.go:81  ▶ [main] das core ok

2022-02-16 05:54:04.022265639   INFO    cmd/main.go:84  ▶ [main] parser ok

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xc40503]

goroutine 1 [running]:
main.runServer(0xc00054c620)
        /data/das/das-pay-1.0.2/cmd/main.go:88 +0x223
github.com/urfave/cli/v2.(*App).RunContext(0xc0002d44e0, {0xfd2c50, 0xc00011c000}, {0xc000130000, 0x2, 0x2})
        /data/das/das-pay-1.0.2/vendor/github.com/urfave/cli/v2/app.go:322 +0x7a8
github.com/urfave/cli/v2.(*App).Run(...)
        /data/das/das-pay-1.0.2/vendor/github.com/urfave/cli/v2/app.go:224
main.main()
        /data/das/das-pay-1.0.2/cmd/main.go:45 +0x1b0

所使用的版本为: 1.0.2

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