We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Panic was:
`panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x68 pc=0xa4db8a]
goroutine 3406 [running]:github.com/pb33f/libopenapi-validator/requests.(requestBodyValidator).ValidateRequestBody(0xc00878e900, 0xc003411700) /go/pkg/mod/github.com/pb33f/libopenapi-validator@v0.0.33/requests/validate_body.go:32 +0x16a github.com/pb33f/libopenapi-validator.(validator).ValidateHttpRequest.func2(0x0?, 0x0?) /go/pkg/mod/github.com/pb33f/libopenapi-validator@v0.0.33/validator.go:247 +0x30 created by github.com/pb33f/libopenapi-validator.(*validator).ValidateHttpRequest in goroutine 3422 /go/pkg/mod/github.com/pb33f/libopenapi-validator@v0.0.33/validator.go:267 +0x332`
command used to run wiretap: wiretap -u https://my-api-server-url.com/ --ws-host localhost -s smoke.json
wiretap -u https://my-api-server-url.com/ --ws-host localhost -s smoke.json
The text was updated successfully, but these errors were encountered:
These issues should have been resolved in the latest version of the validator. Wiretap has been updated, can you try the latest?
Sorry, something went wrong.
@pranayinos Did it work for you?
Cannot replicate this issue anymore. Closing.
It worked for me. Sorry for late reply, I can see this issue is fixed. Thank you!!
No branches or pull requests
The Panic was:
`panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x68 pc=0xa4db8a]
goroutine 3406 [running]:github.com/pb33f/libopenapi-validator/requests.(requestBodyValidator).ValidateRequestBody(0xc00878e900, 0xc003411700)
/go/pkg/mod/github.com/pb33f/libopenapi-validator@v0.0.33/requests/validate_body.go:32 +0x16a
github.com/pb33f/libopenapi-validator.(validator).ValidateHttpRequest.func2(0x0?, 0x0?)
/go/pkg/mod/github.com/pb33f/libopenapi-validator@v0.0.33/validator.go:247 +0x30
created by github.com/pb33f/libopenapi-validator.(*validator).ValidateHttpRequest in goroutine 3422
/go/pkg/mod/github.com/pb33f/libopenapi-validator@v0.0.33/validator.go:267 +0x332`
command used to run wiretap:
wiretap -u https://my-api-server-url.com/ --ws-host localhost -s smoke.json
The text was updated successfully, but these errors were encountered: