cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5350) SoapFaultException
Date Mon, 21 Oct 2013 22:21:42 GMT

    [ https://issues.apache.org/jira/browse/CXF-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801251#comment-13801251
] 

Daniel Kulp commented on CXF-5350:
----------------------------------

What is your code doing prior to making the call with the client proxy?  Are you setting a
List<Header> object on the request context prior to making the call?   Are you also
then using the client proxy on multiple threads?   If so, that would definitely cause this.



> SoapFaultException
> ------------------
>
>                 Key: CXF-5350
>                 URL: https://issues.apache.org/jira/browse/CXF-5350
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>            Reporter: Jay
>             Fix For: NeedMoreInfo
>
>
> Hi All,
> I'm getting the below SOAP related errors during the webservice calls. Some of the calls
are failing and I'm getting these errors. Any idea whats going wrong and how to fix this?
Any help is appreciated :-)
>  ERROR [qtp987576872-47] c.q.q.c.p.RuntimeExceptionMapper:35 - general runtime exception
> javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code, not set
> 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156) ~[cxf-rt-frontend-jaxws-2.5.4.jar:2.5.4]
> .....
> ......
> v20120308.jar:8.1.2.v20120308]
> 	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634) [jetty-http-8.1.2.v20120308.jar:8.1.2.v20120308]
> 	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230) [jetty-http-8.1.2.v20120308.jar:8.1.2.v20120308]
> 	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
[jetty-server-8.1.2.v20120308.jar:8.1.2.v20120308]
> 	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
[jetty-io-8.1.2.v20120308.jar:8.1.2.v20120308]
> 	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
[jetty-io-8.1.2.v20120308.jar:8.1.2.v20120308]
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
[jetty-util-8.1.2.v20120308.jar:8.1.2.v20120308]
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534) [jetty-util-8.1.2.v20120308.jar:8.1.2.v20120308]
> 	at java.lang.Thread.run(Unknown Source) [na:1.6.0_45]
> Caused by: java.util.ConcurrentModificationException: null
> 	at java.util.AbstractList$Itr.checkForComodification(Unknown Source) ~[na:1.6.0_45]
> 	at java.util.AbstractList$Itr.next(Unknown Source) ~[na:1.6.0_45]
> 	at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.writeSoapEnvelopeStart(SoapOutInterceptor.java:139)
~[cxf-rt-bindings-soap-2.5.4.jar:2.5.4]
> 	at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(SoapOutInterceptor.java:81)
~[cxf-rt-bindings-soap-2.5.4.jar:2.5.4]
> 	at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(SoapOutInterceptor.java:61)
~[cxf-rt-bindings-soap-2.5.4.jar:2.5.4]
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
~[cxf-api-2.5.4.jar:2.5.4]
> 	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533) ~[cxf-rt-core-2.5.4.jar:2.5.4]
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463) ~[cxf-rt-core-2.5.4.jar:2.5.4]
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366) ~[cxf-rt-core-2.5.4.jar:2.5.4]
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319) ~[cxf-rt-core-2.5.4.jar:2.5.4]
> 	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88) ~[cxf-rt-frontend-simple-2.5.4.jar:2.5.4]
> 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134) ~[cxf-rt-frontend-jaxws-2.5.4.jar:2.5.4].
> the above log is on the client side. I do see some errors at server end too.
> Here is the log..
> has thrown exception, unwinding now
> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
> 	at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:237)
> 	at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:60)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
> 	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:123)
> 	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:206)
> 	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:218)
> 	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:200)
> 	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:114)
> ..
> ...
> ...
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
> 	at java.lang.Thread.run(Unknown Source)
> Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in attribute value
>  at [row,col {unknown-source}]: [1,1275768]
> 	at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:677)
> 	at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:1034)
> 	at com.ctc.wstx.sr.StreamScanner.getNextChar(StreamScanner.java:785)
> 	at com.ctc.wstx.sr.BasicStreamReader.parseAttrValue(BasicStreamReader.java:1858)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message