synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera (JIRA)" <j...@apache.org>
Subject [jira] Created: (SYNAPSE-109) Fault mediator throws a NPE if a SOAP header is not present
Date Fri, 13 Jul 2007 20:20:04 GMT
Fault mediator throws a NPE if a SOAP header is not present
-----------------------------------------------------------

                 Key: SYNAPSE-109
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-109
             Project: Synapse
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0
            Reporter: Asankha C. Perera
            Assignee: Asankha C. Perera
            Priority: Minor


Fault mediator thorws an exception 

INFO   | jvm 1    | 2007/07/13 13:19:37 |  INFO [13 Jul 13:19:37]  LogMediator - To: /soap/MyTestbogus_url,WSAction:
http://infocision.com/GetCurrentPrice,SOAPAction: http://infocision.com/GetCurrentPrice,SOURCE
= MainMediator,Envelope: <?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><GetCurrentPrice
xmlns="http://infocision.com/"><symbol>MSFT</symbol></GetCurrentPrice></soap:Body></soap:Envelope>

INFO   | jvm 1    | 2007/07/13 13:19:37 | TRACE [13 Jul 13:19:37]  TRACE_LOGGER - To: /soap/MyTestbogus_url,WSAction:
http://infocision.com/GetCurrentPrice,SOAPAction: http://infocision.com/GetCurrentPrice,SOURCE
= MainMediator,Envelope: <?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><GetCurrentPrice
xmlns="http://infocision.com/"><symbol>MSFT</symbol></GetCurrentPrice></soap:Body></soap:Envelope>

INFO   | jvm 1    | 2007/07/13 13:19:37 | TRACE [13 Jul 13:19:37]  TRACE_LOGGER - End : Log
mediator

INFO   | jvm 1    | 2007/07/13 13:19:37 | DEBUG [13 Jul 13:19:37]  FaultMediator - Fault mediator
mediate()

INFO   | jvm 1    | 2007/07/13 13:19:37 | TRACE [13 Jul 13:19:37]  TRACE_LOGGER - Start :
Fault mediator

INFO   | jvm 1    | 2007/07/13 13:19:37 | DEBUG [13 Jul 13:19:37]  FaultMediator - Creating
a SOAP fault using SOAP 1.1

INFO   | jvm 1    | 2007/07/13 13:19:37 | TRACE [13 Jul 13:19:37]  TRACE_LOGGER - End : Sequence
<main>

INFO   | jvm 1    | 2007/07/13 13:19:37 | Exception in thread "HttpServerWorker-5" java.lang.NullPointerException

INFO   | jvm 1    | 2007/07/13 13:19:37 | 	at org.apache.synapse.mediators.transform.FaultMediator.makeSOAPFault(FaultMediator.java:132)

INFO   | jvm 1    | 2007/07/13 13:19:37 | 	at org.apache.synapse.mediators.transform.FaultMediator.mediate(FaultMediator.java:86)

INFO   | jvm 1    | 2007/07/13 13:19:37 | 	at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:49)

INFO   | jvm 1    | 2007/07/13 13:19:37 | 	at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:104)

INFO   | jvm 1    | 2007/07/13 13:19:37 | 	at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:104)

INFO   | jvm 1    | 2007/07/13 13:19:37 | 	at org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:73)

INFO   | jvm 1    | 2007/07/13 13:19:37 | 	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:144)

INFO   | jvm 1    | 2007/07/13 13:19:37 | 	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:279)

INFO   | jvm 1    | 2007/07/13 13:19:37 | 	at org.apache.axis2.transport.nhttp.ServerWorker.processPost(ServerWorker.java:207)

INFO   | jvm 1    | 2007/07/13 13:19:37 | 	at org.apache.axis2.transport.nhttp.ServerWorker.run(ServerWorker.java:171)

INFO   | jvm 1    | 2007/07/13 13:19:37 | 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)

INFO   | jvm 1    | 2007/07/13 13:19:37 | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)

INFO   | jvm 1    | 2007/07/13 13:19:37 | 	at java.lang.Thread.run(Unknown Source)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message