EmbeddedLDAP java.lang.ArrayIndexOutOfBoundsException:
Getting EmbeddedLDAP java.lang.ArrayIndexOutOfBoundsException error while starting Admin server in logs –
ERROR:
####<Jan 5, 2011 3:10:05 AM PST> <Critical> <EmbeddedLDAP> <083707> <AdminServer> <Replication Thread> <<anonymous>> <> <> <135938525634> <BEA-000000> <java.lang.ArrayIndexOutOfBoundsException: 0>
SOLUTION:
- Backup of existing “ldap” folder and deleted changelog.data and changelog.index file in servers/Adminserver/data/ldap/ldapfiles because both of the files get corrupted.
- Restart the Admin server.
- Both files will be created again and Admin will come up without errors.