IndexOutOfBoundsException received trying to start the JDBC Driver

  • 7024623
  • 14-May-2020
  • 14-May-2020

Environment

Identity Manager 4.7.3
Identity Manager Driver - JDBC 4.1.0.0

Situation

After upgrading the connected database from Oracle 12c to 19c, a IndexOutOfBoundsException is received when trying to start the driver.

[05/12/20 09:44:36.858]:HostedAlio PT:
<nds dtdversion="2.0" ndsversion="8.x" xmlns:jdbc="urn:dirxml:jdbc">
  <source>
    <product build="20180222_0550" instance="Staff" version="4.1.0.0">DirXML Driver for JDBC</product>
    <contact>NetIQ Corporation</contact>
  </source>
  <output>
    <status level="fatal" type="driver-general">
      <description>java.lang.IndexOutOfBoundsException: Index: 1, Size: 1</description>
      <jdbc:exception jdbc:class="java.lang.IndexOutOfBoundsException">
        <jdbc:message>Index: 1, Size: 1</jdbc:message>
        <jdbc:stack-trace>java.lang.IndexOutOfBoundsException: Index: 1, Size: 1d
    at java.util.ArrayList.rangeCheck(ArrayList.java:657)
    at java.util.ArrayList.get(ArrayList.java:433)
    at com.novell.nds.dirxml.driver.jdbc.util.jdbm.JDBMFile.archiveFilesImpl(Unknown Source)
    at com.novell.nds.dirxml.driver.jdbc.util.jdbm.JDBMFile.archiveFiles(Unknown Source)
    at com.novell.nds.dirxml.driver.jdbc.JDBCTriggerlessPublicationShim.openTriggerlessFile(Unknown Source)
    at com.novell.nds.dirxml.driver.jdbc.JDBCTriggerlessPublicationShim.beforePoll(Unknown Source)
    at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationShim.start(Unknown Source)
    at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationProxy.start(Unknown Source)
    at com.novell.nds.dirxml.engine.Publisher.run(Publisher.java:607)
    at java.lang.Thread.run(Thread.java:748)
</jdbc:stack-trace>
      </jdbc:exception>
    </status>
  </output>
</nds>

Resolution

Deleting the state files and the DirXML-DriverStorage attribute off of the driver object, allowed the driver to start successfuly.