Okta Access Gateway Header Application NullPointerException
Last Updated:
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
