While Starting Reconciliation Getting StringIndexOutOfBoundsException (Doc ID 869956.1)

Last updated on MAY 31, 2017

Applies to:

Oracle Communications Network Integrity - Version: 3.6.0
This problem can occur on any platform.

Symptoms

-- Problem Statement:
After discovering the network elements  while starting the Reconciliation process, we are encountering a StringIndexOutOfBoundsException exception.

ERROR:

2009-06-17 09:16:49,125 ERROR [oracle.communications.networkintegrity.dat.adapterengine.xmlparser.XMLParserEJB] parseNetworkElementPrivate(): Exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(String.java:1762)
at oracle.communications.networkintegrity.dat.util.FileHelper.getHashcodeDirPath(Unknown Source)
at oracle.communications.networkintegrity.dat.adapterengine.persistence.persister.FilesStructureManagerImpl.getSubdirPathForGenericModel(Unknown Source)
at oracle.communications.networkintegrity.dat.adapterengine.persistence.persister.FilePersisterImpl.createFilePath(Unknown Source)
at oracle.communications.networkintegrity.dat.adapterengine.persistence.persister.FilePersisterImpl.doesPersistedStateHaveOlderTimestamp(Unknown Source)
at oracle.communications.networkintegrity.dat.adapterengine.persistence.PersistenceManager.existsModelWithOldTimeStamp(Unknown Source)
at oracle.communications.networkintegrity.dat.adapterengine.xmlparser.cache.NetworkState.isDBUpdated(Unknown Source)
at oracle.communications.networkintegrity.dat.adapterengine.xmlparser.cache.NetworkState.put(Unknown Source)

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