Hi,PS: I have posted this already in Woodstox mailing list, but not sure if
this was a CXF compatibility issue (since this occurs only beyond 1.6.0_01)

I am using cxf 2.1.1 and hence using wstx-asl version 3.2.4 and I still see
the exception trace below. I googled a bit and found the following links,

http://jira.codehaus.org/browse/WSTX-110
<http://jira.codehaus.org/browse/WSTX-110>
http://jira.atlassian.com/browse/CWD-726

<http://jira.atlassian.com/browse/CWD-726>but apparently both claim that
this was fixed in 3.2.1 or 3.2.3 release. I still get this exception in my
machine.

As an added information, I get this error in JDK 1.6.0_10 (update 10) but do
not get this error in JDK 1.6.0_07 (update 7). *In fact update 7 seems to be
the only JDK version which works (which is why my production JVM cannot
upgrade beyond update 7)*. Was this probably broken again after update 7?

Can someone please shed more light on this?

Exception:
11:51:09,767, ERROR [STDERR] Aug 27, 2009 11:51:09 AM
org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
java.lang.IllegalStateException: Can't overwrite cause
        at java.lang.Throwable.initCause(Throwable.java:320)
        at com.ctc.wstx.compat.Jdk14Impl.setInitCause(Jdk14Impl.java:70)
        at com.ctc.wstx.exc.WstxException.<init>(WstxException.java:46)
        at com.ctc.wstx.exc.WstxIOException.<init>(WstxIOException.java:16)
        at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:313)
        at
org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.jav
a:93)
        at
org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242)
        at
org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
        at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:178)
        at $Proxy138.retrieveRestrictedCountries(Unknown Source)

This happens when I call the actual webservice on the proxy object
-- 
Regards,
Kannan Ekanath

Reply via email to