search cancel

"java.lang.ArrayIndexOutOfBoundsException: -1" error after upgrading to Oracle 19c

book

Article ID: 239531

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

After upgrading Oracle to version 19c, Applications Manager fails to start and Java awapi times out. Additionally, the below error is seen in the RMI logs:

ErrorMsg: AwE-9999 Internal error (4/6/22 3:14 PM) 
Details: null
java.lang.ArrayIndexOutOfBoundsException: -1
 at java.util.ArrayList.elementData(ArrayList.java:422)
 at java.util.ArrayList.get(ArrayList.java:435)
 at com.appworx.shared.data.Job.isScheduleModule(Job.java:628)
 at com.appworx.server.data.JobsData.y(JobsData.java:1580)
 at com.appworx.server.data.JobsData.क़(JobsData.java:2703)
 at com.appworx.server.data.JobsData.<init>(JobsData.java:279)
 at com.appworx.server.data.Master.B(Master.java:659)
 at com.appworx.server.data.Master.<init>(Master.java:203)
 at com.appworx.server.data.AxRmiServer.į(AxRmiServer.java:2920)
 at com.appworx.server.data.AxRmiServer.setupMasters(AxRmiServer.java:2773)
 at com.appworx.server.data.AxRmiServer.main(AxRmiServer.java:896)

This error is generally seen if Applications Manager is on version 9.3.0 or 9.3.1

Environment

Release : 9.3.0, 9.3.1

Component : APPLICATIONS MANAGER

Resolution

Compatibility with Oracle 19c was added in version 9.3.2. 

Upgrading Applications Manager to version 9.3.2 or above should resolve the error.