<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Okta Access Gateway Header Application NullPointerException

Okta Classic Engine
Access Gateway
Okta Identity Engine

Overview

A NullPointerException occurs in Okta Access Gateway (OAG) when adding a header application because the custom admin account lacks the necessary administrative permissions. When attempting to add a header application, the configuration fails to save, and Okta generates the following error message:

 

java.lang.NullPointerException: Cannot get property 'id' on null object

 

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Okta Access Gateway (OAG)
  • Header Applications
  • Okta Identity Provider (IdP) API Token configuration

Solution

How is the NullPointerException resolved?

 

Resolve the NullPointerException by assigning the required administrative roles to the account used to create the OAG API token and constraining the roles to the entire organization.

  • Application Administrator
  • Organization Administrator

Related References

Loading
Okta Support - Okta Access Gateway Header Application NullPointerException