My Oracle Support Banner

Oidrealm.bat fails with java.lang.NullPointerException (Doc ID 1060574.1)

Last updated on OCTOBER 18, 2019

Applies to:

Oracle Internet Directory - Version 11.1.1.1.0 and later
Generic Windows

Symptoms

While creating a new Identity Management Realm in OID 11g with oidrealm.bat tool on Windows platform, the command failed to run and returned java.lang.NullPointerException message.

For example,

C:<ORACLE_HOME>\ldap\bin>oidrealm <OID_HOSTNAME> <OID_PORT> 'dc=<NEW_REALM>,dc=com'
Enter OID Admin Password:
java.lang.NullPointerException


The same command works fine on Linux platform.

Oracle Fusion Middleware User Reference for Oracle Identity Management 11g
Release 1 (11.1.1)
2.8.1 Syntax for oidrealm

On Windows:

oidrealm.bat oid_host oid_port DN [-SSL]
..
2.8.3 Example for oidrealm

$ oidrealm <OID_HOSTNAME> <OID_SSL_PORT> 'dc=<NEW_REALM>,dc=com' -SSL
Enter OID Admin Password: <PASSWORD>

Cause

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
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.