NullPointerException Creating Wallet For OGG Monitor Agent

(Doc ID 1982458.1)

Last updated on JULY 17, 2017

Applies to:

Management Pack for Oracle GoldenGate - Version and later
Information in this document applies to any platform.


While preparing OGG Jagent, we encountered java nullpointer exception while creating wallet credential.

[oracle@fl1dr015956 ogg_agent]$ export JAVA_HOME=/opt/oracle/gg/1212/jdk
[oracle@fl1dr015956 ogg_agent]$ export PATH=$JAVA_HOME/bin:$PATH
[oracle@fl1dr015956 ogg_agent]$ java -version
java version "1.7.0_76"
Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
[oracle@fl1dr015956 ogg_agent]$ ./ -create
Please create a password for Java Agent:
Please confirm password for Java Agent:
Please enter Monitor Server JMX password:
Please confirm Monitor Server JMX password:
Exception in thread "main" java.lang.NullPointerException
at com.goldengate.wallet.WalletHelper.<init>(


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