org.apache.axiom.om.OMException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Axis2, client handler not getting called
    via by Anjali S Sharma,
    • org.apache.axiom.om.OMException: org.apache.axiom.ext.io.StreamCopyException: Error reading from source at org.apache.axiom.attachments.impl.PartFactory.createPart(PartFactory.java:172) at org.apache.axiom.attachments.Attachments.getPart(Attachments.java:705) at org.apache.axiom.attachments.Attachments.getNextPartDataHandler(Attachments.java:623) at org.apache.axiom.attachments.Attachments.getDataHandler(Attachments.java:350) at org.apache.axiom.om.impl.builder.OMAttachmentAccessorMimePartProvider.getDataHandler(OMAttachmentAccessorMimePartProvider.java:45) at org.apache.axiom.util.stax.xop.XOPDecodingStreamReader$DataHandlerProviderImpl.getDataHandler(XOPDecodingStreamReader.java:81) at org.apache.axiom.om.impl.OptimizationPolicyImpl.isOptimized(OptimizationPolicyImpl.java:88) at org.apache.axiom.util.stax.xop.XOPEncodingStreamWrapper.processDataHandler(XOPEncodingStreamWrapper.java:65) at org.apache.axiom.util.stax.xop.XOPEncodingStreamWriter.writeDataHandler(XOPEncodingStreamWriter.java:94) at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeDataHandler(StreamingOMSerializer.java:587) at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeNode(StreamingOMSerializer.java:168) at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java:107) at org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java:76) at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeByPullStream(OMSerializerUtil.java:547) at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:249) at org.apache.axiom.om.impl.llom.OMSerializableImpl.serializeAndConsume(OMSerializableImpl.java:193) at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:74) at org.apache.synapse.transport.nhttp.HttpCoreNIOSender.sendAsyncResponse(HttpCoreNIOSender.java:511) at org.apache.synapse.transport.nhttp.HttpCoreNIOSender.invoke(HttpCoreNIOSender.java:266) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442) at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:208) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:433) at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:102) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:81) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:48) at org.apache.synapse.mediators.filters.OutMediator.mediate(OutMediator.java:61) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:81) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:48) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:135) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:308) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:500) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) at org.apache.synapse.transport.nhttp.ClientWorker.run(ClientWorker.java:310) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.axiom.ext.io.StreamCopyException: Error reading from source at org.apache.axiom.attachments.utils.BAAOutputStream.readFrom(BAAOutputStream.java:114) at org.apache.axiom.attachments.impl.BufferUtils.inputStream2OutputStream(BufferUtils.java:76) at org.apache.axiom.attachments.impl.PartFactory.createPart(PartFactory.java:136) ... 37 more Caused by: java.io.IOException: End of Stream, but boundary not found at org.apache.axiom.attachments.BoundaryPushbackInputStream.read(BoundaryPushbackInputStream.java:258) at org.apache.axiom.attachments.MIMEBodyPartInputStream.read(MIMEBodyPartInputStream.java:87) at org.apache.axiom.attachments.utils.BAAOutputStream.readFrom(BAAOutputStream.java:112) ... 39 more
    No Bugmate found.