Model Upload Fails With "null" Error & 'Premature end of file' (Doc ID 1375770.1)

Last updated on MAY 26, 2016

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 7.2.10 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)
Oracle Financial Services Analytical Applications (OFSAA)

Symptoms

On Oracle Financial Services Analytical Applications Infrastructure (OFSAAI) 7.2.x and 7.3.x, after a failed model upload due to OUT OF MEMORY errors, after increasing available memory, when attempting another model upload, the following error occurs in the reveleusserver nohup.out file (in both 7.2 and 7.3):

ERROR

File Output Path ....= /oracle/ofsa/reveleus/ftpshare//OFSAEPM/erwin/fipxml/OFSAEPM_DATABASE.XML
ERWINUPLOAD ON INFODOM ::::::::::OFSAEPM
ERWINUPLOAD ON INFODOM FOR VALUE strRetMsg::::::::::
Erwin File Path is OFSAEPM/erwin
package Node Clone :::[PACKAGE: null]
ERWINUPLOAD retMsg::::::::::::::
Time taken to parse the file : 3550
[Fatal Error] :-1:-1: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at com.iflex.fic.etl.date.ClsUUtlETLXmlBase.getDocument(ClsUUtlETLXmlBase.java:108)
at com.iflex.fic.etl.UploadModel.cnt.ClsUCntUploadModel.AlterModifyTable(ClsUCntUploadModel.java:2077)
at com.iflex.fic.etl.UploadModel.cnt.ClsUCntUploadModel.handleRequest(ClsUCntUploadModel.java:259)
at com.iflex.fic.etl.UploadModel.cnt.ClsUCntErwinUpLoad.uploadErwin(ClsUCntErwinUpLoad.java:272)
at com.iflex.fic.etl.UploadModel.cnt.ClsUCntUploadHandler.handleUpload(ClsUCntUploadHandler.java:222)
at com.iflex.fic.etl.util.ClsUUtlETLServiceProvider.handleRequest(ClsUUtlETLServiceProvider.java:133)
at com.iflex.fic.newservice.ServiceProxy.invokeService(ServiceProxy.java:184)
at com.iflex.fic.newservice.NewServiceMaster.provideService(NewServiceMaster.java:211)
at com.iflex.fic.newservice.DynamicServiceManager.provideService(DynamicServiceManager.java:296)
at com.iflex.fic.ficserver.JavaRequestHandler.handleRequest(JavaRequestHandler.java:546)
at com.iflex.fic.ficserver.JavaSocketConnection.run(JavaSocketConnection.java:202)
SAXException message :Premature end of file.
ERWINUPLOAD ERRORnull
java.lang.NullPointerException
at com.iflex.fic.etl.UploadModel.cnt.ClsUCntUploadModel.AlterModifyTable(ClsUCntUploadModel.java:2095)
at com.iflex.fic.etl.UploadModel.cnt.ClsUCntUploadModel.handleRequest(ClsUCntUploadModel.java:259)
at com.iflex.fic.etl.UploadModel.cnt.ClsUCntErwinUpLoad.uploadErwin(ClsUCntErwinUpLoad.java:272)
at com.iflex.fic.etl.UploadModel.cnt.ClsUCntUploadHandler.handleUpload(ClsUCntUploadHandler.java:222)
at com.iflex.fic.etl.util.ClsUUtlETLServiceProvider.handleRequest(ClsUUtlETLServiceProvider.java:133)
at com.iflex.fic.newservice.ServiceProxy.invokeService(ServiceProxy.java:184)
at com.iflex.fic.newservice.NewServiceMaster.provideService(NewServiceMaster.java:211)
at com.iflex.fic.newservice.DynamicServiceManager.provideService(DynamicServiceManager.java:296)
at com.iflex.fic.ficserver.JavaRequestHandler.handleRequest(JavaRequestHandler.java:546)
at com.iflex.fic.ficserver.JavaSocketConnection.run(JavaSocketConnection.java:202)
cargo:::[SC:0][ST:0][SST:0][Oper:0][Version:0][EF:true][D:null][S:null][U:null][PT:0][P:null[Ljava.lang.String;@6ed16ed1]
Upload Model status (Log File Path ) = ' /oracle/ofsa/reveleus/ftpshare/OFSAEPM/logs/OFSAEPM_LOG_8_11.07.2011-05.18.05.log'
MODEL UPLOAD STATUS::[S][ETL.MODELUPLOAD.UPLOAD_ERR]


The model upload log only shows 'null' error (in both 7.2 and 7.3):

ERROR

STARTED SUPER CATEGORY - SUB CATEGORY HANDLING AT Mon Nov 07 17:35:41 EET 2011
SUCCESSFULLY COMPLETED SUPER CATEGORY - SUB CATEGORY RELATIONS HANDLING AT Mon Nov 07 17:38:29 EET 2011

Key :@@system Value:system----------------------------------------------
Inside AlterModify Component
DbType is ORACLE
null
Renaming the Database Model file

ERROR

The ETLService.log contains the following in version 7.3.x:

ETLLOG] Apr 21,16 20:21:08 : [MODELUPLOADHELPER]Output..[SC:10][ST:2][SST:0][Oper:0][Version:0][EF:false][D:INFODOM][S:null][U:null][PT:2][P:null1]
[ETLLOG] Apr 21,16 20:21:08 : [CLSUCNTUPLOADHANDLER][ETL Upload Model]String returned by Model Upload Model Upload Failed
[ETLLOG] Apr 21,16 20:21:08 : [MODELUPLOADHELPER]Log Message::::Error in Model Upload.
[ETLLOG] Apr 21,16 20:21:08 : [CLSUCNTUPLOADHANDLER]
com.iflex.fic.etl.UploadModel.cnt.ModelUploadException
      at com.iflex.fic.etl.UploadModel.cnt.ClsUCntUploadHandler.handleUpload(ClsUCntUploadHandler.java:351)
      at com.iflex.fic.etl.util.ClsUUtlETLServiceProvider.handleRequest(ClsUUtlETLServiceProvider.java:133)
      at com.iflex.fic.newservice.ServiceProxy.invokeService(ServiceProxy.java:184)
      at com.iflex.fic.newservice.NewServiceMaster.provideService(NewServiceMaster.java:211)
      at com.iflex.fic.newservice.DynamicServiceManager.provideService(DynamicServiceManager.java:297)
      at com.iflex.fic.ficserver.JavaRequestHandler.handleRequest(JavaRequestHandler.java:546)
      at com.iflex.fic.ficserver.JavaSocketConnection.run(JavaSocketConnection.java:202)

[ETLLOG] Apr 21,16 20:21:08 : [CLSUCNTUPLOADHANDLER][ETL Upload Model]Error in Model Upload.

The issue can be reproduced at will with the following steps:
1. Model upload originally fails with OUT OF MEMORY error
2. After increasing memory, model upload still fails

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