My Oracle Support Banner

HTTPServletRequest GetParameterMap() Throws Null Pointer Exception (Doc ID 1159845.1)

Last updated on JULY 03, 2020

Applies to:

Oracle Containers for J2EE - Version and later
Information in this document applies to any platform.


When implementing a security system using JAZN with Oracle IDM (Identity Management) implementation and defining a custom TokenCollector on the method getToken, if calling Map params = request.getParameterMap(); (where request is HttpServletRequest),  a null pointer exception on the class EvermindHttpServletRequest method getParameters is raised.

Here is an example of the code fragment:

public IdentityToken getToken(String tokenType, HttpServletRequest request, List tokenNames, Properties properties) throws TokenNotFoundException, CollectorException {
Map params = request.getParameterMap();

The following error is received:




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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.