synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "qkm qkm" <kermit....@gmail.com>
Subject Why raise the nullPointerException
Date Thu, 11 Dec 2008 14:42:32 GMT
Hi,
    I am investigating the synapse these two days. It seems it is powerful I
like it. But now I meet a problem, below is the detail.
    I develop a new client and server and these two was proxy by synapse.
The client and server can work directly. Now the problem is the client send
to synapse, synapse return 202 accepted to the client and raise a nullpoint
Exception(below is the detail within the ---> ---II).
    Do some synapse expert know why here synapse raise a
nullPointerException?
    Thanks!

Best Regards,
Kermit

…..
NFO SynapseInitializationModule Loading mediator extensions...
2008-12-11 18:49:51,880 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO SynapseInitializationModule Initializing the Synapse configuration ...
2008-12-11 18:49:51,897 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO XMLConfigurationBuilder Generating the Synapse configuration model by
parsin
g the XML configuration
2008-12-11 18:49:52,134 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO SynapseConfigurationBuilder Loaded Synapse configuration from :
C:\Temp\SYNA
PS~1.2\SYNAPS~1.2\bin\..\repository\conf\synapse.xml
2008-12-11 18:49:52,150 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO SynapseInitializationModule Deploying the Synapse service..
2008-12-11 18:49:52,207 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO SynapseInitializationModule Synapse server name : localhost
2008-12-11 18:49:52,207 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO SynapseInitializationModule Deploying Proxy services...
2008-12-11 18:49:52,208 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO SynapseInitializationModule Synapse initialized successfully...!
2008-12-11 18:49:52,210 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO HttpCoreNIOSSLSender Loading Identity Keystore from : lib/identity.jks
2008-12-11 18:49:52,249 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO HttpCoreNIOSSLSender Loading Trust Keystore from : lib/trust.jks
2008-12-11 18:49:52,304 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO HttpCoreNIOSender HTTPS Sender starting
2008-12-11 18:49:52,415 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO HttpCoreNIOSender HTTP Sender starting
2008-12-11 18:49:52,419 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO JMSSender JMS Sender started
2008-12-11 18:49:52,425 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO VFSTransportSender VFS Sender started
2008-12-11 18:49:52,754 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO ServerManager Starting transport mailto
2008-12-11 18:49:52,755 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO MailTransportListener MAILTO Listener started
2008-12-11 18:49:52,760 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO ServerManager Starting transport https on port 8243
2008-12-11 18:49:52,763 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO HttpCoreNIOSSLListener Loading Identity Keystore from : lib/identity.jks
2008-12-11 18:49:52,766 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO HttpCoreNIOSSLListener Loading Trust Keystore from : lib/trust.jks
2008-12-11 18:49:52,771 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO HttpCoreNIOListener HTTPS Listener starting on port : 8243
2008-12-11 18:49:52,772 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO ServerManager Starting transport http on port 8280
2008-12-11 18:49:52,774 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO HttpCoreNIOListener HTTP Listener starting on port : 8280
2008-12-11 18:49:52,774 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO ServerManager Starting transport vfs
2008-12-11 18:49:52,791 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO VFSTransportListener VFS Listener started
2008-12-11 18:49:52,791 [150.236.80.52-EV001A4B737CA6]
[WrapperSimpleAppMain]  I
NFO ServerManager Ready for processing
------------------------------>
2008-12-11 18:50:10,855 [150.236.80.52-EV001A4B737CA6] [I/O dispatcher 5]
WARN
HttpCoreNIOListener System may be unstable: IOReactor encountered a runtime
exce
ption : null
java.lang.NullPointerException
        at
org.apache.synapse.transport.nhttp.ServerHandler.exception(ServerHand
ler.java:274)
-----------------------------II
        at
org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(De
faultNHttpServerConnection.java:146)
        at
org.apache.http.impl.nio.DefaultServerIOEventDispatch.inputReady(Defa
ultServerIOEventDispatch.java:98)
        at
org.apache.http.impl.nio.reactor.BaseIOReactor.validate(BaseIOReactor
.java:143)
        at
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIO
Reactor.java:146)
        at
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.
java:70)
        at
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.
run(AbstractMultiworkerIOReactor.java:318)
        at java.lang.Thread.run(Unknown Source)
2008-12-11 18:50:11,035 [150.236.80.52-EV001A4B737CA6] [HttpServerWorker-1]
INF
O LogMediator To: /TerminalStatus/services/TerminalStatus, WSAction: ,
SOAPActio
n: , MessageID: urn:uuid:6A7C877988B5E27C181228992610844, Direction:
request, En
velope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="h
ttp://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLS
chema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1<http://www.w3.org/2001/XMLSchema-instance%22%3E%3Csoapenv:Body%3E%3Cns1>
:
getTerminalType xmlns:ns1="
http://www.csapi.org/wsdl/terminal_status/v1_0/servic
e" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><in0<http://schemas.xmlsoap.org/soap/encoding/%22%3E%3Cin0>xsi:ty
pe="xsd:anyURI">vis://application-name@vodafone.com</in0><in1 href="#id0"
/></ns
1:getTerminalType><multiRef xmlns:ns2="
http://www.csapi.org/wsdl/terminal_status
/v1_0/service" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
id="id0
" soapenc:root="0" soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encodi
ng/" xsi:type="ns2:AddressMsisdn"><msidsn
xsi:type="xsd:anyURI">tel:123</msidsn>
</multiRef></soapenv:Body></soapenv:Envelope>

Mime
View raw message