org.apache.axis2.AxisFault: Could not convert JSON Stream to XML. Cannot handle JSON input.

Stack Overflow | thotchkiss | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error when using .NET WebAPI with APIM 2.0

    Stack Overflow | 6 months ago | thotchkiss
    org.apache.axis2.AxisFault: Could not convert JSON Stream to XML. Cannot handle JSON input.
  2. 0

    wso2 demo DSS services returns 202 and esb api times out

    Stack Overflow | 2 years ago | AlphaGeek
    org.apache.axis2.AxisFault: Error while building Passthrough stream
  3. 0

    How to call multiple operations of data service in single proxy service of wso2 esb?

    Stack Overflow | 1 month ago | Moid Siddiqui
    org.apache.axis2.AxisFault: Error while building Passthrough stream
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    REST API Management wso2 invoke a proxy service - Error

    Stack Overflow | 1 year ago | user2754712
    org.apache.axis2.AxisFault: Error while building Passthrough stream
  6. 0

      RizzoDev: WSO2: Simple Pass through proxy (REST to REST with HTML Reply)

    blogspot.com | 1 year ago
    org.apache.axis2.AxisFault: Error while building Passthrough stream

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Unexpected symbol: END_OBJECT

      at org.apache.synapse.commons.staxon.core.json.stream.impl.JsonStreamSourceImpl.startJsonValue()
    2. org.apache.synapse
      RelayUtils.buildMessage
      1. org.apache.synapse.commons.staxon.core.json.stream.impl.JsonStreamSourceImpl.startJsonValue(JsonStreamSourceImpl.java:125)
      2. org.apache.synapse.commons.staxon.core.json.stream.impl.JsonStreamSourceImpl.next(JsonStreamSourceImpl.java:144)
      3. org.apache.synapse.commons.staxon.core.json.stream.impl.JsonStreamSourceImpl.peek(JsonStreamSourceImpl.java:272)
      4. org.apache.synapse.commons.staxon.core.json.JsonXMLStreamReader.consume(JsonXMLStreamReader.java:129)
      5. org.apache.synapse.commons.staxon.core.base.AbstractXMLStreamReader.initialize(AbstractXMLStreamReader.java:243)
      6. org.apache.synapse.commons.staxon.core.json.JsonXMLStreamReader.<init>(JsonXMLStreamReader.java:66)
      7. org.apache.synapse.commons.staxon.core.json.JsonXMLInputFactory.createXMLStreamReader(JsonXMLInputFactory.java:165)
      8. org.apache.synapse.commons.json.JsonUtil.getReader(JsonUtil.java:316)
      9. org.apache.synapse.commons.json.JsonUtil.getReader(JsonUtil.java:298)
      10. org.apache.synapse.commons.json.JsonUtil.toXml(JsonUtil.java:277)
      11. org.apache.synapse.commons.json.JsonBuilder.processDocument(JsonBuilder.java:35)
      12. org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:148)
      13. org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:137)
      14. org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:100)
      14 frames
    3. Apache Synapse - Core
      SynapseCallbackReceiver.receive
      1. org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:72)
      2. org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:49)
      3. org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:160)
      4. org.apache.synapse.mediators.MediatorFaultHandler.onFault(MediatorFaultHandler.java:89)
      5. org.apache.synapse.FaultHandler.handleFault(FaultHandler.java:53)
      6. org.apache.synapse.endpoints.AbstractEndpoint.invokeNextFaultHandler(AbstractEndpoint.java:690)
      7. org.apache.synapse.endpoints.AbstractEndpoint.onFault(AbstractEndpoint.java:525)
      8. org.apache.synapse.endpoints.HTTPEndpoint.onFault(HTTPEndpoint.java:66)
      9. org.apache.synapse.FaultHandler.handleFault(FaultHandler.java:101)
      10. org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:271)
      11. org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:179)
      11 frames
    4. org.apache.synapse
      TargetErrorHandler$1.run
      1. org.apache.synapse.transport.passthru.TargetErrorHandler$1.run(TargetErrorHandler.java:139)
      1 frame
    5. Apache Axis2 - Transport - Base
      NativeWorkerPool$1.run
      1. org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
      1 frame
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames