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

enconter panic when calling unmarshal() #495

Open
PearsonCHN opened this issue Feb 6, 2024 · 0 comments
Open

enconter panic when calling unmarshal() #495

PearsonCHN opened this issue Feb 6, 2024 · 0 comments

Comments

@PearsonCHN
Copy link


panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x88 pc=0xa0cc93]
--
goroutine 698 [running]:
github.com/goccy/go-json/internal/decoder.(*structDecoder).Decode(0x0, 0xc0019a8100, 0x1e0?, 0xc000faa000?, 0xc000fca000) 	/builds/worker/vendor/github.com/goccy/go-json/internal/decoder/struct.go:760 +0x3f3
github.com/goccy/go-json.unmarshal({0xc000faa000?, 0xc0016ad428?, 0xb287a6?}, {0x1e42420, 0xc000fca000}, {0x0, 0x0, 0x59?}) 	/builds/worker/vendor/github.com/goccy/go-json/decode.go:47 +0x186
github.com/goccy/go-json.Unmarshal(...) 	/builds/worker/vendor/github.com/goccy/go-json/json.go:276

go-json version in go.mod is v0.9.10

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