java.io.IOException: Unexpected symbol: END_OBJECT 2016-10-07 07:07:27,324 [-] [PassThroughMessageProcessor-6] ERROR DeferredMessageBuilder Error building message org.apache.axis2.AxisFault: Could not convert JSON Stream to XML. Cannot handle JSON input.

Stack Overflow | thotchkiss | 4 months ago
  1. 0

    Error when using .NET WebAPI with APIM 2.0

    Stack Overflow | 4 months ago | thotchkiss
    java.io.IOException: Unexpected symbol: END_OBJECT 2016-10-07 07:07:27,324 [-] [PassThroughMessageProcessor-6] ERROR DeferredMessageBuilder Error building message org.apache.axis2.AxisFault: Could not convert JSON Stream to XML. Cannot handle JSON input.
  2. 0
    Bad input data (not properly separated)
  3. 0
    If you are using maven you'd like to exclude your binaries from filtering process.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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