You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Binu Andrews <bi...@gmail.com> on 2008/11/25 14:46:42 UTC

INFO: Interceptor has thrown exception, unwinding now

Hi All,
    I am using cxf 2.0 for by jax ws implementation. 
I am getting below  error in logs. Please help me to resolve it


INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not create XMLStreamReader(encoding UTF-8).
        at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:67)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73)
        at org.apache.cxf.transport.servlet.ServletDestination.doMessage(ServletDestination.java:79)
        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:256)
        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
        at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:170)
        at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:148)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)




Regards
-Binu

Re: INFO: Interceptor has thrown exception, unwinding now

Posted by Benson Margulies <bi...@gmail.com>.
That's truly unfortunate.

However, turn on logging or use wireshark and see what's on the wire.
The stack trace suggests that you got something like an HTTP error
message which can't be interpreted at an XML message.

On Tue, Nov 25, 2008 at 10:19 AM, Binu Andrews <bi...@gmail.com> wrote:
> Hi Benson,
> Thanks for your reply. It is not be possible for me to change the cxf version. apache-cxf-2.0.3 is the version which i am using
>
>
> Regards
> -Binu
>
>
> ----- Original Message -----
> From: "Benson Margulies" <bi...@gmail.com>
> To: <us...@cxf.apache.org>
> Sent: Tuesday, November 25, 2008 8:18 PM
> Subject: Re: INFO: Interceptor has thrown exception, unwinding now
>
>
>> Could we please suggest a more recent version, for a start? Then, if
>> you still have the problem, we'd need a lot more detail, probably
>> starting with the logging interceptors.
>>
>> On Tue, Nov 25, 2008 at 8:46 AM, Binu Andrews <bi...@gmail.com> wrote:
>>> Hi All,
>>>    I am using cxf 2.0 for by jax ws implementation.
>>> I am getting below  error in logs. Please help me to resolve it
>>>
>>>
>>> INFO: Interceptor has thrown exception, unwinding now
>>> org.apache.cxf.interceptor.Fault: Could not create XMLStreamReader(encoding UTF-8).
>>>        at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:67)
>>>        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
>>>        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73)
>>>        at org.apache.cxf.transport.servlet.ServletDestination.doMessage(ServletDestination.java:79)
>>>        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:256)
>>>        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
>>>        at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:170)
>>>        at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:148)
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>>
>>>
>>>
>>>
>>> Regards
>>> -Binu

Re: INFO: Interceptor has thrown exception, unwinding now

Posted by Binu Andrews <bi...@gmail.com>.
Hi Benson,
Thanks for your reply. It is not be possible for me to change the cxf version. apache-cxf-2.0.3 is the version which i am using


Regards
-Binu


----- Original Message ----- 
From: "Benson Margulies" <bi...@gmail.com>
To: <us...@cxf.apache.org>
Sent: Tuesday, November 25, 2008 8:18 PM
Subject: Re: INFO: Interceptor has thrown exception, unwinding now


> Could we please suggest a more recent version, for a start? Then, if
> you still have the problem, we'd need a lot more detail, probably
> starting with the logging interceptors.
> 
> On Tue, Nov 25, 2008 at 8:46 AM, Binu Andrews <bi...@gmail.com> wrote:
>> Hi All,
>>    I am using cxf 2.0 for by jax ws implementation.
>> I am getting below  error in logs. Please help me to resolve it
>>
>>
>> INFO: Interceptor has thrown exception, unwinding now
>> org.apache.cxf.interceptor.Fault: Could not create XMLStreamReader(encoding UTF-8).
>>        at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:67)
>>        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
>>        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73)
>>        at org.apache.cxf.transport.servlet.ServletDestination.doMessage(ServletDestination.java:79)
>>        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:256)
>>        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
>>        at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:170)
>>        at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:148)
>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>
>>
>>
>>
>> Regards
>> -Binu

Re: INFO: Interceptor has thrown exception, unwinding now

Posted by Benson Margulies <bi...@gmail.com>.
Could we please suggest a more recent version, for a start? Then, if
you still have the problem, we'd need a lot more detail, probably
starting with the logging interceptors.

On Tue, Nov 25, 2008 at 8:46 AM, Binu Andrews <bi...@gmail.com> wrote:
> Hi All,
>    I am using cxf 2.0 for by jax ws implementation.
> I am getting below  error in logs. Please help me to resolve it
>
>
> INFO: Interceptor has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: Could not create XMLStreamReader(encoding UTF-8).
>        at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:67)
>        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
>        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73)
>        at org.apache.cxf.transport.servlet.ServletDestination.doMessage(ServletDestination.java:79)
>        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:256)
>        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
>        at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:170)
>        at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:148)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
>
>
>
> Regards
> -Binu