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

mac 系统下2.2.0 版本无法启动,提示runtime error: invalid memory address or nil pointer dereference #1474

Open
jlynet opened this issue Jun 5, 2024 · 0 comments

Comments

@jlynet
Copy link

jlynet commented Jun 5, 2024

Describe the bug
idea单步骤调试发现在 server/config/util.go:43
image
感觉是不是无法读取配置导致啊?我看2.1与2.2 最大的差异就是更换了oi 库

我试着使用官方的编译包运行也是不行。

Platform

  • OS: mac
  • Version 14.5

Runtime

  • Version 1.22.3

Additional context

2024-06-05T15:52:47.482+0800	INFO	plugin/plugin.go:80	load 'auth' plugin named 'buildin'
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1032c4b38]

goroutine 1 [running]:
github.com/go-chassis/go-archaius/source.(*Manager).IsKeyExist(...)
	/Volumes/macData/goRepository/pkg/mod/github.com/go-chassis/[email protected]/source/manager.go:311
github.com/go-chassis/go-archaius.Exist(...)
	/Volumes/macData/goRepository/pkg/mod/github.com/go-chassis/[email protected]/archaius.go:179
github.com/apache/servicecomb-service-center/server/config.GetString({0x10421e86f, 0x1a}, {0x0, 0x0}, {0x0?, 0x14000a6e1a0?, 0x14000a3fe08?})
	/Volumes/macData/servicecomb-service-center/server/config/util.go:45 +0x58
github.com/apache/servicecomb-service-center/syncer/job/tombstone.init.0()
	/Volumes/macData/servicecomb-service-center/syncer/job/tombstone/tombstone.go:37 +0x3c
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