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

Last updated on JULY 01, 2016

Applies to:

Oracle Internet Directory - Version: 11.1.1.1.0 and later   [Release: 11g 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:\app\oracle\product\fmw\IDM\ldap\bin>oidrealm myhost.example.com 3060 'dc=newrealm,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 myhost.example.com 3133 'dc=newrealm,dc=com' -SSL
Enter OID Admin Password: password

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