Exception in thread "main" java.lang.NullPointerException Getting Cookie To Invoke REST Services Using Token Base Authentication In ISG

(Doc ID 2402157.1)

Last updated on JUNE 25, 2018

Applies to:

Oracle E-Business Suite Integrated SOA Gateway - Version 12.2.4 to 12.2.7 [Release 12.2]
Information in this document applies to any platform.

Symptoms

Issue in getting a cookie to invoke REST services using Token base Authentication in ISG using RestInvocationWithLogin.java mentioned in ISG developer guide to generate cookie information to pass in header while Invoke REST services.  Getting below message:

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms