-
Notifications
You must be signed in to change notification settings - Fork 26
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
null Token causes NPE #10
Comments
Hi @roryodonnell we'll look into this. It should be handled better. Were you running normal IAM authentication flow or have you written any custom token provider implementation? Also, what version of the SDK are you using? |
Using this code from the Wiki
Using this endpoint -> s3.us-south.objectstorage.softlayer.net along with the apiKey and resource_instance_id. Funny thing is, it works locally from Eclipse, but fails under a local minikube deployment |
|
Looks like it is failing to retrieve a token, although it should handle the null object better. Can you reach https://iam.ng.bluemix.net/oidc/token from within minikube? |
haven't tried that - just a fyi |
@roryodonnell did you get connectivity within minikube to the token endpoint? If so, did it resolve your issue? |
I'm not sure - didn't dig into it too much. It could have been a temporary connection issue with cos - but as you say - the main point is to direct you to the unhandled NPE exception |
ok, we have an internal Jira raised - CSAFE-38356. I'll keep this github issue open too. thanks |
....happy Friday!! |
Hi @roryodonnell this issue has been resolved in the latest public release of the Java SDK. Version 2.1.3. Please let us know if you have any further issues with this. |
The text was updated successfully, but these errors were encountered: