My Oracle Support Banner

Attachment Upload Error For ECM808 Via REST API (Doc ID 2742449.1)

Last updated on NOVEMBER 28, 2022

Applies to:

Oracle Financial Services Enterprise Case Management - Version 8.0.7 and later
Information in this document applies to any platform.

Symptoms

Attachment upload error for ECM808 via REST API

For any uploads that are triggered via rest API we get the below error. 
Exception error in web application server log via REST API

[05-01-21 20:10:38,620 GMT PM] [ERROR] [WEB] [UMM] [NA] [DOCUMENTMANAGERHELPER]
java.lang.ArrayIndexOutOfBoundsException: 0
at com.iflex.fic.util.DocumentManagerHelper.UploadDocument(DocumentManagerHelper.java:458)
at com.iflex.fic.util.DocumentManagerHelper.UploadDocument(DocumentManagerHelper.java:322)
at com.ofss.reveleus.cm.dao.ECMDAO.uploadFile(ECMDAO.java:15899)
at com.ofss.reveleus.cm.dao.ECMDAO.ecmUploadFile(ECMDAO.java:16158)
at com.ofss.reveleus.cm.service.CaseManagementService.ecmUploadFile(CaseManagementService.java:2478)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethod

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.