My Oracle Support Banner

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

Last updated on JULY 01, 2016

Applies to:

Oracle Internet Directory - Version: and later   [Release: 11g and later ]
Generic Windows


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 3060 'dc=newrealm,dc=com'
Enter OID Admin Password:

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 3133 'dc=newrealm,dc=com' -SSL
Enter OID Admin Password: password


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.