My Oracle Support Banner

EncodeReferenceToBase64 Function Failing Files More Than 10 BM Files With Error "java.lang.Exception: Maximum file size supported is 10 MB" (Doc ID 2497508.1)

Last updated on JULY 27, 2020

Applies to:

Oracle Integration - Version 17.4.1 and later
Information in this document applies to any platform.

Symptoms



While executing xpath function encodeReferenceToBase64 with larget than 10MB file, it fails with below error.
ERROR
-----------------------
faultName: {{http://schemas.oracle.com/bpel/extension}subLanguageExecutionFault} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} parts: {{ summary=XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc('resources/processor_106/resourcegroup_109/req.xsl', $messagecontext_15.parameters, 'GetObject', $messagecontext_49.parameters) The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: <username>:/<xsl path>.xsl<Line 39, Column 187>: XML-22044: (Error) Extension function error: Error invoking 'encodeReferenceToBase64':'java.lang.Exception: Maximum file size supported is 10 MB.' Check the detailed root cause described in the exception message text and verify that the XPath query is correct. ,code=XPathExecutionError} cause: {javax.xml.transform.TransformerException: <mds username>:/<xsl path>.xsl: XML-22044: (Error) Extension function error: Error invoking 'encodeReferenceToBase64':'java.lang.Exception: Maximum file size supp

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create an integration to perform encodeReferenceToBase64 operation with larger than 10MB file to get the error reported.

 

Changes

 

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
Changes
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.