Getting java.lang.IndexOutOfBoundsException Error While Migrating Data Transformations (DTs) Using Object Migration Screen
(Doc ID 2996208.1)
Last updated on JANUARY 26, 2024
Applies to:
Oracle Financial Services Analytical Applications Infrastructure - Version 8.1.2.3 and laterInformation in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)
Symptoms
In OFSAA 8.1.2.x, you are getting errors while migrating Data Transformations (DT) from one environment to another using the Object Migration Screen.
Checking the FUSIONSUBSYSTEMSService.log from $FIC_HOME/logs, the import hangs at the following line:
[13-12-23 16:44:58,577 GMT PM] [DEBUG] [APP] [AMHM] [NA] [EXPORTIMPORTLOGS] [ReadDataFromXML] GetDOMObject from /.../ftpshare/ObjectMigration/metadata/restore/DIH_DT_13DEC23_OFSAAINFO/DIH_DT_13DEC23
[13-12-23 16:44:58,580 GMT PM] [DEBUG] [APP] [AMHM] [NA] [FUSIONSUBSYSTEMSSERVICEPROVIDER] Get Hierarchy JSON Called
[13-12-23 16:44:58,580 GMT PM] [DEBUG] [APP] [AMHM] [NA] [FUSIONSUBSYSTEMSSERVICEPROVIDER] MigrationMaster Hierarchy JSON Path.../.../ftpshare/ObjectMigration/metadata/restore/DIH_DT_13DEC23_OFSAAINFO/hierarchy_output
The Web Server FUSIONSUBSYSTEMSService.log contains the following at the end of the log:
[13-12-23 16:44:58,582 GMT PM] [INFO ] [WEB] [AMHM] [NA] [MIGRATIONHANDLER] jsonData : {"totalRecords":5,"startIndex":1,"children":[{"id":"Call_GetNextCohMasDispCode","title":"Call_GetNextCohMasDispCode","type":"121"},{"id":"Call_InitializeRuntimeCache","title":"Call_InitializeRuntimeCache","type":"121"},{"id":"Call_RefreshCohMasCode","title":"Call_RefreshCohMasCode","type":"121"},{"id":"Call_UpdateBatchTaskVariabl","title":"Call_UpdateBatchTaskVariabl","type":"121"},{"id":"DT_FN_RLA_LIFE_INS_POL_TXN","title":"DT_FN_RLA_LIFE_INS_POL_TXN","type":"121"}],"noOfPages":1,"endIndex":5,"recordsPerPage":10,"id":"121"}
[13-12-23 16:44:58,582 GMT PM] [INFO ] [WEB] [AMHM] [NA] [MIGRATIONHANDLER] AFTER FETCH_OBJECTS_FOR_TYPE_DUMP
[13-12-23 16:44:58,582 GMT PM] [DEBUG] [WEB] [AMHM] [NA] [MIGRATIONSERVLET] forward Message.....null
Finally, the following error exists in the application layer OFSAA.log:
[13-12-23 12:07:48,346 GMT PM] [ERROR] [APP] [<USER>] [DMT] [PLCService]~[saveAsObjectEdit]~PLC definition with code DT_FN_RLA_LIFE_INS_POL_TXN and version LATEST_VERSION edit failed.
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:659) ~[?:1.8.0_341]
at java.util.ArrayList.get(ArrayList.java:435) ~[?:1.8.0_341]
at com.ofs.aai.service.dmt.plc.PLCService.saveAsObjectEdit(PLCService.java:1220) [aai-dmt-service.jar:?]
at com.ofs.aai.service.dmt.client.DMTClient.saveAsObjectVersion(DMTClient.java:673) [aai-dmt-service.jar:?]
at com.ofs.aai.service.dmt.client.DMTClient.saveAsObjectVersion(DMTClient.java:593) [aai-dmt-service.jar:?]
at metadata.servlet.importer.dmt.DMTImportHelper.addOrEditDMTObject(DMTImportHelper.java:120) [migration.jar:?]
at metadata.servlet.importer.dmt.PLCImport.savePLC(PLCImport.java:266) [migration.jar:?]
at metadata.servlet.importer.dmt.PLCImport.importPLCMetadata(PLCImport.java:105) [migration.jar:?]
at metadata.servlet.importer.UnifiedImportImpl.importObjects(UnifiedImportImpl.java:286) [migration.jar:?]
at com.ofs.reveleus.fusionsubsystems.services.FusionSubSystemsServiceProvider.handleRequest(FusionSubSystemsServiceProvider.java:452) [migration.jar:?]
at com.iflex.fic.newservice.ServiceProxy.invokeService(ServiceProxy.java:184) [FICServer.jar:?]
at com.iflex.fic.newservice.NewServiceMaster.provideService(NewServiceMaster.java:212) [FICServer.jar:?]
at com.iflex.fic.newservice.DynamicServiceManager.provideService(DynamicServiceManager.java:314) [FICServer.jar:?]
at com.iflex.fic.ficserver.JavaRequestHandler.handleRequest(JavaRequestHandler.java:546) [FICServer.jar:?]
at com.iflex.fic.ficserver.JavaSocketConnection.run(JavaSocketConnection.java:206) [FICServer.jar:?]
[13-12-23 12:07:48,347 GMT PM] [INFO ] [APP] [NA] [NA] DB Connection has been requested for DBName: CONFIG, DBType: null
[13-12-23 12:07:48,347 GMT PM] [INFO ] [APP] [NA] [NA] DB connection fetched successfully for DBName: CONFIG, DBType: ORACLE
[13-12-23 12:07:48,348 GMT PM] [ERROR] [APP] [<USER>] [DMT] [DMTClient]~[saveAsObjectVersion]~OFSAAServiceException : Edit failed for Object
com.ofs.aai.service.OFSAAServiceException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
As a result, the import fails.
Cause
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
Symptoms |
Cause |
Solution |
References |