+ viraj

On Tue, Jun 21, 2016 at 3:58 PM, Shakila Sivagnanarajah <shak...@wso2.com>
wrote:

> Hi,
>
> I am checking Spotify connector with ESB 5.0.0 - BETA. When the response
> comes with no response body, it gives the following error [1]. This works
> fine with ESB 4.9.0. Same issue is reported in the thread "Getting error
> JsonUtil #writeAsJson. Payload could not be written as JSON with ESB 5.0.0
> - BETA".
>
> [2016-06-21 13:24:05,539]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "PUT /v1/users/testuser/playlists/7j8x27kvOOczlZGlWnb8Xp/tracks
> HTTP/1.1[\r][\n]"
> [2016-06-21 13:24:05,539]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "X-Frame-Options: deny[\r][\n]"
> [2016-06-21 13:24:05,539]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Strict-Transport-Security: max-age=31536000;[\r][\n]"
> [2016-06-21 13:24:05,539]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Authorization: Bearer xxxxxxxxxxxx[\r][\n]"
> [2016-06-21 13:24:05,539]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Vary: Accept-Encoding[\r][\n]"
> [2016-06-21 13:24:05,539]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "X-UA-Compatible: IE=edge[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "X-Content-Security-Policy: default-src 'self'; script-src 'self'
> https://d2d1dxiu3v1f2i.cloudfront.net https://www.google-analytics.com;
> img-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net https://i.imgur.com
> https://d2mv8tnci56s9d.cloudfront.net https://aci.scdn.co
> https://graph.facebook.com https://fbcdn-profile-a.akamaihd.net
> https://scontent.xx.fbcdn.net https://www.google-analytics.com
> https://stats.g.doubleclick.net data: d2d1dxiu3v1f2i.cloudfront.net;
> font-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net
> https://sp-bootstrap.global.ssl.fastly.net; style-src 'self'
> 'unsafe-inline' https://d2d1dxiu3v1f2i.cloudfront.net; frame-src 'self'
> https://www.spotify.com;[\r][\n]";
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Content-Type: application/json; charset=UTF-8[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Content-Security-Policy: default-src 'self'; script-src 'self'
> https://d2d1dxiu3v1f2i.cloudfront.net https://www.google-analytics.com;
> img-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net https://i.imgur.com
> https://d2mv8tnci56s9d.cloudfront.net https://aci.scdn.co
> https://graph.facebook.com https://fbcdn-profile-a.akamaihd.net
> https://scontent.xx.fbcdn.net https://www.google-analytics.com
> https://stats.g.doubleclick.net data: d2d1dxiu3v1f2i.cloudfront.net;
> font-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net
> https://sp-bootstrap.global.ssl.fastly.net; style-src 'self'
> 'unsafe-inline' https://d2d1dxiu3v1f2i.cloudfront.net; frame-src 'self'
> https://www.spotify.com;[\r][\n]";
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "X-Content-Type-Options: nosniff[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Pragma: no-cache[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Cache-Control: no-cache, no-store, must-revalidate[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Transfer-Encoding: chunked[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Host: api.spotify.com[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Connection: Keep-Alive[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "[\r][\n]"
> [2016-06-21 13:24:05,541]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "8a[\r][\n]"
> [2016-06-21 13:24:05,541]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,541] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "{[\n]"
> [2016-06-21 13:24:05,541]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,541] DEBUG - wire HTTPS-Sender I/O dispatcher-8 << "
>
>  
> "uris":["spotify:track:4iV5W9uYEdYUVa79Axb7Rh","spotify:track:1301WleyT98MSxVHPZCA6M"][\n]"
> [2016-06-21 13:24:05,541]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,541] DEBUG - wire HTTPS-Sender I/O dispatcher-8 << "
>                        }[\r][\n]"
> [2016-06-21 13:24:05,541]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,541] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "0[\r][\n]"
> [2016-06-21 13:24:05,541]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,541] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "[\r][\n]"
> [2016-06-21 13:24:05,959]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,959] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "HTTP/1.1 201 Created[\r][\n]"
> [2016-06-21 13:24:05,960]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,959] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "Server: nginx[\r][\n]"
> [2016-06-21 13:24:05,960]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,960] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "Date: Tue, 21 Jun 2016 07:54:05 GMT[\r][\n]"
> [2016-06-21 13:24:05,960]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,960] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "Content-Length: 0[\r][\n]"
> [2016-06-21 13:24:05,960]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,960] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "Connection: keep-alive[\r][\n]"
> [2016-06-21 13:24:05,960]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,960] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "Keep-Alive: timeout=600[\r][\n]"
> [2016-06-21 13:24:05,960]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,960] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "Cache-Control: private, max-age=0[\r][\n]"
> [2016-06-21 13:24:05,960]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,960] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "Access-Control-Allow-Origin: *[\r][\n]"
> [2016-06-21 13:24:05,960]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,960] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE[\r][\n]"
> [2016-06-21 13:24:05,960]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,960] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "Access-Control-Allow-Credentials: true[\r][\n]"
> [2016-06-21 13:24:05,960]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,960] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "Access-Control-Max-Age: 604800[\r][\n]"
> [2016-06-21 13:24:05,960]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,960] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "Access-Control-Allow-Headers: Accept, Authorization, Origin,
> Content-Type[\r][\n]"
> [2016-06-21 13:24:05,960]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,960] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "X-Content-Type-Options: nosniff[\r][\n]"
> [2016-06-21 13:24:05,960]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,960] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "Strict-Transport-Security: max-age=31536000;[\r][\n]"
> [2016-06-21 13:24:05,961]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,960] DEBUG - wire HTTPS-Sender I/O dispatcher-8 >>
> "[\r][\n]"
> [2016-06-21 13:24:05,963]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,963] ERROR - JsonUtil #writeAsJson. *Payload could
> not be written as JSON*. MessageID:
> urn:uuid:35fbb00f-ef98-41c6-9f84-1fce0af26803
> [2016-06-21 13:24:05,963]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,963] ERROR - PassThroughHttpSender Failed to submit
> the response
> [2016-06-21 13:24:05,963]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  org.apache.axis2.AxisFault: Payload could not be written as JSON.
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.commons.json.JsonUtil.writeAsJson(JsonUtil.java:260)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.commons.json.JsonStreamFormatter.writeTo(JsonStreamFormatter.java:61)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.transport.passthru.PassThroughHttpSender.submitResponse(PassThroughHttpSender.java:555)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.transport.passthru.PassThroughHttpSender.invoke(PassThroughHttpSender.java:264)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:212)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.mediators.builtin.RespondMediator.mediate(RespondMediator.java:35)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:87)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:292)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.mediateFromContinuationStateStack(Axis2SynapseEnvironment.java:774)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:282)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:546)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:179)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:255)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> java.lang.Thread.run(Thread.java:745)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,964] ERROR - Axis2Sender
> Access-Control-Allow-Credentials:true,Access-Control-Allow-Headers:Accept,
> Authorization, Origin, Content-Type,Access-Control-Allow-Methods:GET, POST,
> OPTIONS, PUT,
> DELETE,Access-Control-Allow-Origin:*,Access-Control-Max-Age:604800,Cache-Control:private,
> max-age=0,Strict-Transport-Security:max-age=31536000;,X-Content-Type-Options:nosniff,<?xml
> version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body/></soapenv:Envelope>
> Unexpected error sending message back
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  org.apache.axis2.AxisFault: Failed to submit the response
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.transport.passthru.PassThroughHttpSender.handleException(PassThroughHttpSender.java:613)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.transport.passthru.PassThroughHttpSender.invoke(PassThroughHttpSender.java:266)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
> [2016-06-21 13:24:05,964]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:212)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.mediators.builtin.RespondMediator.mediate(RespondMediator.java:35)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:87)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:292)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.mediateFromContinuationStateStack(Axis2SynapseEnvironment.java:774)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:282)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:546)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:179)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:255)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> java.lang.Thread.run(Thread.java:745)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  Caused by: org.apache.axis2.AxisFault: Payload could not be written as
> JSON.
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.commons.json.JsonUtil.writeAsJson(JsonUtil.java:260)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.commons.json.JsonStreamFormatter.writeTo(JsonStreamFormatter.java:61)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.transport.passthru.PassThroughHttpSender.submitResponse(PassThroughHttpSender.java:555)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   at
> org.apache.synapse.transport.passthru.PassThroughHttpSender.invoke(PassThroughHttpSender.java:264)
> [2016-06-21 13:24:05,965]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -   ...
> 15 more
> [2016-06-21 13:24:05,966]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,966]  INFO - LogMediator To: , WSAction: ,
> SOAPAction: , MessageID: urn:uuid:35fbb00f-ef98-41c6-9f84-1fce0af26803,
> Direction: response, MESSAGE = Executing default 'fault' sequence,
> ERROR_CODE = 0, ERROR_MESSAGE =
> Access-Control-Allow-Credentials:true,Access-Control-Allow-Headers:Accept,
> Authorization, Origin, Content-Type,Access-Control-Allow-Methods:GET, POST,
> OPTIONS, PUT,
> DELETE,Access-Control-Allow-Origin:*,Access-Control-Max-Age:604800,Cache-Control:private,
> max-age=0,Strict-Transport-Security:max-age=31536000;,X-Content-Type-Options:nosniff,<?xml
> version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body/></soapenv:Envelope>
> Unexpected error sending message back, Envelope: <?xml version='1.0'
> encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Body/></soapenv:Envelope>
>
>
> Thank you
> --
> Shakila Sivagnanarajah
> Software Engineer
> Mobile :+94 (0) 768 856837
> shak...@wso2.com
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
>



-- 
Shakila Sivagnanarajah
Software Engineer
Mobile :+94 (0) 768 856837
shak...@wso2.com
WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to