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

3.2.4及3.2.4.1版本启动api报错 #126

Closed
1 task done
wshze opened this issue Jan 29, 2024 · 0 comments
Closed
1 task done

3.2.4及3.2.4.1版本启动api报错 #126

wshze opened this issue Jan 29, 2024 · 0 comments

Comments

@wshze
Copy link

wshze commented Jan 29, 2024

⚠️ 确认 issue 是否已存在 ⚠️

  • 我已经搜索了现有的问题,没有找到跟我问题相关的问题。

GPT-3 or GPT-4

GPT-3.5

操作系统

Linux

Bug 描述 📝

[Fx] PROVIDE *handler.TestHandler <= chatplus/handler.NewTestHandler()
[Fx] PROVIDE fx.Lifecycle <= go.uber.org/fx.New.func1()
[Fx] PROVIDE fx.Shutdowner <= go.uber.org/fx.(*App).shutdowner-fm()
[Fx] PROVIDE fx.DotGraph <= go.uber.org/fx.(*App).dotGraph-fm()
[Fx] INVOKE main.main.func3()
[Fx] INVOKE main.main.func7()
2024-01-29T14:24:38.967+0800 ERROR api/main.go:64 Panic Error:runtime error: invalid memory address or nil pointer dereference

重现步骤 🕹

全新的环境和下载的新包,改完配置后去go run main.go启动报错误
2024-01-29T14:24:38.967+0800 ERROR api/main.go:64 Panic Error:runtime error: invalid memory address or nil pointer dereference
试过用容器build后再启动也一样报这个错误,但是3.2.3和3.2.2就没问题。(我用的centos7.9,windows下没问题,很奇怪)

你的应用配置信息

把你的配置信息粘贴到这里
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

2 participants