org.apache.cxf.interceptor.Fault

Could not send Message.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

Stack trace

  • org.apache.cxf.interceptor.Fault: Could not send Message. at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:466) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:299) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:251) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124) at $Proxy122.reserveFlight(Unknown Source) at org.eclipse.swordfish.samples.flightreservation.sample.FlightReservationClientInvoker.performRequest(FlightReservationClientInvoker.java:62) at org.eclipse.swordfish.samples.flightreservation.sample.FlightReservationClientInvoker.access$0(FlightReservationClientInvoker.java:59) at org.eclipse.swordfish.samples.flightreservation.sample.FlightReservationClientInvoker$1.run(FlightReservationClientInvoker.java:50) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) Caused by: java.io.IOException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at org.eclipse.swordfish.plugins.cxf.support.NMROutputStream.sendOutputMessage(NMROutputStream.java:124) at org.eclipse.swordfish.plugins.cxf.support.NMROutputStream.doClose(NMROutputStream.java:77) at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:167) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) ... 12 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.