java.io.IOException: Error in encoded stream: needed 4 valid base64 characters but only got 1 before EOF, the 10 most recent characters were: "BLOB@9bb98"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by Juw, 1 year ago
Error in encoded stream: needed 4 valid base64 characters but only got 1 before EOF, the 10 most recent characters were: "BLOB@9bb98"
via Oracle Community by 843830, 1 year ago
Error in encoded stream: needed at least 2 valid base64 characters, but only got 0 before padding character (=), the 10 most recent characters were: "UQkIADsA\r="
via Oracle Community by 843834, 1 year ago
Error in encoded stream: needed 4 valid base64 characters but only got 3 before EOF, the 10 most recent characters were: "-G-EASDF\r"
via Oracle Community by 843830, 1 year ago
Error in encoded stream: needed at least 2 valid base64 characters, but only got 0 before padding character (=), the 3 most recent characters were: "--="
via Oracle Community by 843830, 1 year ago
Error in encoded stream, got 3
via Oracle Community by 843830, 1 year ago
Error in encoded stream, got 3
java.io.IOException: Error in encoded stream: needed 4 valid base64 characters but only got 1 before EOF, the 10 most recent characters were: "BLOB@9bb98"
at com.sun.mail.util.BASE64DecoderStream.decode(BASE64DecoderStream.java:250)
at com.sun.mail.util.BASE64DecoderStream.read(BASE64DecoderStream.java:148)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at oracle.tip.adapter.db.ox.CustomConversionManager.convertObjectToByteArray(CustomConversionManager.java:231)
at oracle.tip.adapter.db.ox.CustomConversionManager.convertObject(CustomConversionManager.java:129)
at oracle.tip.adapter.db.ox.X_OParser.process(X_OParser.java:549)
at oracle.tip.adapter.db.ox.Visitor.process(Visitor.java:252)
at oracle.tip.adapter.db.ox.X_OParser.processAndIndicateIfEmpty(X_OParser.java:483)
at oracle.tip.adapter.db.ox.X_OParser.process(X_OParser.java:404)
at oracle.tip.adapter.db.ox.X_OParser.process(X_OParser.java:637)
at oracle.tip.adapter.db.ox.X_OParser.parse(X_OParser.java:197)
at oracle.tip.adapter.db.DBInteraction.executeOutboundWrite(DBInteraction.java:798)
at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:247)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:357)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:572)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:555)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:566)
at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:263)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)
at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:197)
at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:258)
at sun.reflect.GeneratedMethodAccessor1414.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at undefined.$Proxy349.post(Unknown Source)
at oracle.fabric.CubeServiceEngine.postToMesh(CubeServiceEngine.java:844)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:262)
at com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1099)
at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:594)
at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:132)
at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:74)
at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:173)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2718)
at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1197)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1100)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:76)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:251)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:330)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4652)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4583)
at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1293)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1095)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.handleWorkItem(CubeEngineBean.java:379)
at sun.reflect.GeneratedMethodAccessor1433.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:103)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.