I get nullpointer exception when I use http:soap-provider to route a soap
request
The reason for nullpointer exception is CONTENT_TYPE is null.
java.lang.NullPointerException
at org.mortbay.io.Portable.getBytes(Portable.java:46)
at org.mortbay.io.ByteArrayBuffer.<init>(ByteArrayBuffer.java:73)
at
org.mortbay.io.ByteArrayBuffer$CaseInsensitive.<init>(ByteArrayBuffer.java:414)
at org.mortbay.io.BufferCache$CachedBuffer.<init>(BufferCache.java:120)
at org.mortbay.io.BufferCache.lookup(BufferCache.java:93)
at org.mortbay.jetty.HttpFields.add(HttpFields.java:612)
at
org.mortbay.jetty.client.HttpExchange.addRequestHeader(HttpExchange.java:368)
at
org.apache.servicemix.http.endpoints.HttpSoapProviderMarshaler.createRequest(HttpSoapProviderMarshaler.java:111)
at
org.apache.servicemix.http.endpoints.HttpProviderEndpoint.process(HttpProviderEndpoint.java:233)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:627)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:581)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchangeInTx(AsyncBaseLifeCycle.java:478)
at
org.apache.servicemix.common.AsyncBaseLifeCycle$2.run(AsyncBaseLifeCycle.java:347)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
--
View this message in context:
http://servicemix.396122.n5.nabble.com/NULLPOINTER-Exception-tp509767p509767.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.