My Oracle Support Banner

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

Last updated on FEBRUARY 24, 2017

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:

010-05-19 11:56:18.876 ERROR [GenericAuthenticator] Error: [JAZN] null
[JAZN] com.evermind.server.http.EvermindHttpServletRequest.getParameters(
[JAZN] com.evermind.server.http.EvermindHttpServletRequest.getImmutableParameters(
[JAZN] com.evermind.server.http.EvermindHttpServletRequest.getParameterMap(
[JAZN] inversura.idm.core.InversuraTokenCollector.getToken(
[JAZN] com.evermind.server.http.EvermindHttpServletRequest.getUserPrincipalInternal(
[JAZN] com.evermind.server.http.HttpApplication.checkAuthenticationAndAuthorize(
[JAZN] com.evermind.server.http.HttpApplication.getRequestDispatcher(
[JAZN] com.evermind.server.http.HttpRequestHandler.doProcessRequest(
[JAZN] com.evermind.server.http.HttpRequestHandler.processRequest(
[JAZN] com.evermind.server.http.HttpRequestHandler.serveOneRequest(


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.