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 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

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]$ ./pw_agent_util.sh -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>(WalletHelper.java:92)
at com.goldengate.monitor.jagent.security.PWAgentUtil.main(PWAgentUtil.java:118)



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