My Oracle Support Banner

NullPointerException Creating Wallet For OGG Monitor Agent (Doc ID 1982458.1)

Last updated on NOVEMBER 07, 2019

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>(


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.