My Oracle Support Banner

Null Pointer Exception In OAM While Trying To Connect With OAuth Client (Doc ID 2135395.1)

Last updated on JANUARY 04, 2019

Applies to:

Oracle Mobile and Social - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

After configuring Mobile OAuth client as per instructions from https://docs.oracle.com/cd/E40329_01/admin.1112/e27239/oicconfigoauth.htm#AIAAG89127, customer are facing the following error (full stack in logs attached)

This configuration is identical to our test environment which works, however this does not work in our Production environment.,

]]
[2016-04-22T14:49:44.718+09:30] [WLS_OAM1] [ERROR] [] [oracle.idaas.oauth.token] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: PMWez0W0000000000,0:1] [APP: oam_server#11.1.2.0.0] [[
java.lang.NullPointerException
at oracle.security.idaas.oauth.token.jwtimpl.JWTTokenFormatterImpl.calculateX5TValue(JWTTokenFormatterImpl.java:353)
at oracle.security.idaas.oauth.token.jwtimpl.JWTTokenFormatterImpl.configureTrustedIDP(JWTTokenFormatterImpl.java:316)
at oracle.security.idaas.oauth.token.jwtimpl.JWTTokenFormatterImpl.<init>(JWTTokenFormatterImpl.java:191)
at oracle.security.idaas.oauth.token.jwtimpl.OAuthProvider$JWTOAuthTokenService.<init>(OAuthProvider.java:356)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.