Potential null pointer dereference
Opened this issue · 0 comments
error418 commented
The following code runs into a null pointer dereference and causes the application to panic returning a HTTP 502 for the /v1/resources
endpoint.
No helpful logs were given.
hub/api/v1/service/resource/resource.go
Lines 43 to 45 in 76ab4c4
Reproduce
This was caused in my case due to setting a ssh-clone url in the catalog definition property url
instead of sshUrl
, which causes url.Parse
to return nil