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

NullPointerException when invoked by service-catalog 0.0.1 #1

Open
ljnelson opened this issue Dec 18, 2017 · 1 comment
Open

NullPointerException when invoked by service-catalog 0.0.1 #1

ljnelson opened this issue Dec 18, 2017 · 1 comment
Assignees

Comments

@ljnelson
Copy link
Member

When the Kubernetes service catalog, ancient and unsupported version 0.0.1, hits the ServiceInstancesResource#deleteServiceInstance() method, a NullPointerException results:

SEVERE: java.lang.NullPointerException
java.lang.NullPointerException
at java.util.Objects.requireNonNull(Objects.java:203)
at org.microbean.servicebroker.jaxrs.ServiceInstancesResource.deleteServiceInstance(ServiceInstancesResource.java:245)

This is probably valid in the sense that whatever is being asserted probably should NOT be null, but we need to make sure.

@ljnelson ljnelson self-assigned this Dec 18, 2017
@ljnelson
Copy link
Member Author

The line in question, 245, is this:

Objects.requireNonNull(serviceId);

...where serviceId is a @QueryParam-annotated parameter. So the ancient and unsupported version 0.0.1 of the Kubernetes service catalog is not passing the (required) serviceId parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant