[jira] [Assigned] (JCLOUDS-1591) OAuth: ClientCredentialsJWTBearerTokenFlow.filter method throws Null Pointer Exception
[ https://issues.apache.org/jira/browse/JCLOUDS-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Gaul reassigned JCLOUDS-1591: Assignee: (was: Andrew Gaul) > OAuth: ClientCredentialsJWTBearerTokenFlow.filter method throws Null Pointer > Exception > -- > > Key: JCLOUDS-1591 > URL: https://issues.apache.org/jira/browse/JCLOUDS-1591 > Project: jclouds > Issue Type: Bug >Affects Versions: 2.4.0 >Reporter: Anand >Priority: Major > Labels: oauth > > Null pointer exception is thrown when > ClientCredentialsJWTBearerTokenFlow.filter() creates ClientCredentialsClaims > using "null" in jti placeholder > Class: org.jclouds.oauth.v2.filters.ClientCredentialsJWTBearerTokenFlow > Method: filter > Lines#: > ClientCredentialsClaims claims = ClientCredentialsClaims.create( // > credentialsSupplier.get().identity, // iss > credentialsSupplier.get().identity, // sub > oauthConfig.audience(), // aud > -1, // placeholder exp for the cache > -1, // placeholder nbf for the cache > null // placeholder jti for the cache > ); > Ran into this exception during OAuth using > org.jclouds.oauth.v2.config.CredentialType.CLIENT_CREDENTIALS_P12_AND_CERTIFICATE. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (JCLOUDS-1591) OAuth: ClientCredentialsJWTBearerTokenFlow.filter method throws Null Pointer Exception
[ https://issues.apache.org/jira/browse/JCLOUDS-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17464171#comment-17464171 ] Andrew Gaul commented on JCLOUDS-1591: -- Please provide the full stack trace from this error. Note that you will likely need to submit a PR to fix this yourself. > OAuth: ClientCredentialsJWTBearerTokenFlow.filter method throws Null Pointer > Exception > -- > > Key: JCLOUDS-1591 > URL: https://issues.apache.org/jira/browse/JCLOUDS-1591 > Project: jclouds > Issue Type: Bug >Affects Versions: 2.4.0 >Reporter: Anand >Priority: Major > Labels: oauth > > Null pointer exception is thrown when > ClientCredentialsJWTBearerTokenFlow.filter() creates ClientCredentialsClaims > using "null" in jti placeholder > Class: org.jclouds.oauth.v2.filters.ClientCredentialsJWTBearerTokenFlow > Method: filter > Lines#: > ClientCredentialsClaims claims = ClientCredentialsClaims.create( // > credentialsSupplier.get().identity, // iss > credentialsSupplier.get().identity, // sub > oauthConfig.audience(), // aud > -1, // placeholder exp for the cache > -1, // placeholder nbf for the cache > null // placeholder jti for the cache > ); > Ran into this exception during OAuth using > org.jclouds.oauth.v2.config.CredentialType.CLIENT_CREDENTIALS_P12_AND_CERTIFICATE. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Created] (JCLOUDS-1591) OAuth: ClientCredentialsJWTBearerTokenFlow.filter method throws Null Pointer Exception
Anand created JCLOUDS-1591: -- Summary: OAuth: ClientCredentialsJWTBearerTokenFlow.filter method throws Null Pointer Exception Key: JCLOUDS-1591 URL: https://issues.apache.org/jira/browse/JCLOUDS-1591 Project: jclouds Issue Type: Bug Affects Versions: 2.4.0 Reporter: Anand Assignee: Andrew Gaul Null pointer exception is thrown when ClientCredentialsJWTBearerTokenFlow.filter() creates ClientCredentialsClaims using "null" in jti placeholder Class: org.jclouds.oauth.v2.filters.ClientCredentialsJWTBearerTokenFlow Method: filter Lines#: ClientCredentialsClaims claims = ClientCredentialsClaims.create( // credentialsSupplier.get().identity, // iss credentialsSupplier.get().identity, // sub oauthConfig.audience(), // aud -1, // placeholder exp for the cache -1, // placeholder nbf for the cache null // placeholder jti for the cache ); Ran into this exception during OAuth using org.jclouds.oauth.v2.config.CredentialType.CLIENT_CREDENTIALS_P12_AND_CERTIFICATE. -- This message was sent by Atlassian Jira (v8.20.1#820001)