My Oracle Support Banner

Java.lang.NoSuchMethodError: Weblogic.apache.xerces.impl.dv.util.Base64.encode([B)[B (Doc ID 2641754.1)

Last updated on MAY 15, 2023

Applies to:

Oracle Service Bus - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.3.0 OSB

java.lang.NoSuchMethodError: weblogic.apache.xerces.impl.dv.util.Base64.encode([B)[B

When calling this function (xs:base64Binary($xmlObject/atc:Base64BinaryAttachment)
) from OSB 12.2.1.3.0 pipeline, getting the following error.

ERROR
-----------------------
An unexpected error occurred executing the test service: EJB Exception: ; nested exception is:
java.lang.NoSuchMethodError: weblogic.apache.xerces.impl.dv.util.Base64.encode([B)[B

java.lang.NoSuchMethodError: weblogic.apache.xerces.impl.dv.util.Base64.encode([B)[B
at weblogic.xml.query.tokens.common.BEA_Base64Token.serialize(BEA_Base64Token.java:72)
at weblogic.xml.query.tokens.common.BEA_LazyTextToken.getContent(BEA_LazyTextToken.java:34)
at org.apache.xmlbeans.impl.store.XqrlImpl.loadTokenStream(XqrlImpl.java:1429)
at org.apache.xmlbeans.impl.store.XqrlImpl.loadTokenStream(XqrlImpl.java:1444)
at org.apache.xmlbeans.impl.store.XqrlImpl.loadTokenStream(XqrlImpl.java:1387)
at org.apache.xmlbeans.impl.store.XqrlImpl.executeQueryToXmlObjects(XqrlImpl.java:1641)
at org.apache.xmlbeans.impl.store.XqrlImpl.executeQueryToXmlObjects(XqrlImpl.java:1601)
at weblogic.xml.query.xmlbeans.apache.ApacheXmlBeansUtil.toApacheXmlObjects(ApacheXmlBeansUtil.java:23)
at com.bea.wli.common.xquery.x2004.iterators.TokenIteratorFactory.getXmlObjectValue(TokenIteratorFactory.java:545)
at com.bea.wli.common.xquery.x2004.iterators.TokenIteratorFactory.getSingleObject(TokenIteratorFactory.java:481)
at com.bea.wli.common.xquery.x2004.iterators.TokenIteratorFactory.getObject(TokenIteratorFactory.java:426)
at com.bea.wli.common.xquery.x2004.iterators.TokenIteratorFactory.getXmlObject(TokenIteratorFactory.java:443)
at com.bea.wli.sb.stages.expressions.xquery.x2004.XDBCResult.toXmlObject(XDBCResult.java:99)
at com.bea.wli.sb.context.BodyVariable.getXmlSource(BodyVariable.java:131)
at com.bea.wli.sb.context.BodyVariable.setValue(BodyVariable.java:63)
at com.bea.wli.sb.context.MessageContextImpl.setVariableValue(MessageContextImpl.java:259)
at stages.transform.runtime.AssignRuntimeStep.processMessage(AssignRuntimeSt


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


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