{"action":"created","issue":{"url":"https://api.github.com/repos/IBM/ibm-cos-sdk-java/issues/10","repository_url":"https://api.github.com/repos/IBM/ibm-cos-sdk-java","labels_url":"https://api.github.com/repos/IBM/ibm-cos-sdk-java/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/IBM/ibm-cos-sdk-java/issues/10/comments","events_url":"https://api.github.com/repos/IBM/ibm-cos-sdk-java/issues/10/events","html_url":"https://github.com/IBM/ibm-cos-sdk-java/issues/10","id":322211891,"number":10,"title":"null Token causes NPE","user":{"login":"roryodonnell","id":26009048,"avatar_url":"https://avatars0.githubusercontent.com/u/26009048?v=4","gravatar_id":"","url":"https://api.github.com/users/roryodonnell","html_url":"https://github.com/roryodonnell","followers_url":"https://api.github.com/users/roryodonnell/followers","following_url":"https://api.github.com/users/roryodonnell/following{/other_user}","gists_url":"https://api.github.com/users/roryodonnell/gists{/gist_id}","starred_url":"https://api.github.com/users/roryodonnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roryodonnell/subscriptions","organizations_url":"https://api.github.com/users/roryodonnell/orgs","repos_url":"https://api.github.com/users/roryodonnell/repos","events_url":"https://api.github.com/users/roryodonnell/events{/privacy}","received_events_url":"https://api.github.com/users/roryodonnell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-11T08:28:00Z","updated_at":"2018-05-18T14:42:03Z","closed_at":null,"author_association":"NONE","body":"\t\t\ttokenExpiresInSecs = Integer.parseInt(token.getExpires_in());\r\n```\r\nERROR [2018-05-11 08:21:17,497] io.dropwizard.jersey.errors.LoggingExceptionMapper: Error handling a request: 29b2039092d5264c\r\n! java.lang.NullPointerException: null\r\n! at com.ibm.cloud.objectstorage.oauth.DefaultTokenManager.cacheToken(DefaultTokenManager.java:246)\r\n! at com.ibm.cloud.objectstorage.oauth.DefaultTokenManager.retrieveToken(DefaultTokenManager.java:375)\r\n! at com.ibm.cloud.objectstorage.oauth.DefaultTokenManager.getToken(DefaultTokenManager.java:190)\r\n! at com.ibm.cloud.objectstorage.oauth.IBMOAuthSigner.sign(IBMOAuthSigner.java:40)\r\n! at com.ibm.cloud.objectstorage.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1164)\r\n! at com.ibm.cloud.objectstorage.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1030)\r\n! at com.ibm.cloud.objectstorage.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:742)\r\n! at com.ibm.cloud.objectstorage.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:716)\r\n! at com.ibm.cloud.objectstorage.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:699)\r\n! at com.ibm.cloud.objectstorage.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:667)\r\n! at com.ibm.cloud.objectstorage.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:649)\r\n```"},"comment":{"url":"https://api.github.com/repos/IBM/ibm-cos-sdk-java/issues/comments/390229193","html_url":"https://github.com/IBM/ibm-cos-sdk-java/issues/10#issuecomment-390229193","issue_url":"https://api.github.com/repos/IBM/ibm-cos-sdk-java/issues/10","id":390229193,"user":{"login":"smcgrath-IBM","id":34271301,"avatar_url":"https://avatars1.githubusercontent.com/u/34271301?v=4","gravatar_id":"","url":"https://api.github.com/users/smcgrath-IBM","html_url":"https://github.com/smcgrath-IBM","followers_url":"https://api.github.com/users/smcgrath-IBM/followers","following_url":"https://api.github.com/users/smcgrath-IBM/following{/other_user}","gists_url":"https://api.github.com/users/smcgrath-IBM/gists{/gist_id}","starred_url":"https://api.github.com/users/smcgrath-IBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smcgrath-IBM/subscriptions","organizations_url":"https://api.github.com/users/smcgrath-IBM/orgs","repos_url":"https://api.github.com/users/smcgrath-IBM/repos","events_url":"https://api.github.com/users/smcgrath-IBM/events{/privacy}","received_events_url":"https://api.github.com/users/smcgrath-IBM/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T14:42:03Z","updated_at":"2018-05-18T14:42:03Z","author_association":"CONTRIBUTOR","body":"ok, we have an internal Jira raised - CSAFE-38356. I'll keep this github issue open too. thanks"}}
{"actor":{"display_login":"smcgrath-IBM"}}