Hi,

Would you please append a test case so that we can take a close look?
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

www.camelone.org : The open source integration conference: 

On 2013-6-5, at 上午12:53, Mikhail GRUSHINSKIY wrote:

> The condition when it happens is when client supports basic authentication 
> only.
> Thanks
> 
> From: Mikhail GRUSHINSKIY
> Sent: Tuesday, May 07, 2013 8:36 PM
> To: '[email protected]'
> Subject: IndexOutOfBoundsException in 
> WrappedOutInterceptor$WrappedOutEndingInterceptor
> 
> Hello,
> 
> After upgrade to CXF 2.7.4 (from very old CXF version) I'm getting 
> IndexOutOfBoundsException
> in WrappedOutInterceptor$WrappedOutEndingInterceptor . What could be the 
> issue?
> How can CXF mismatch writeStartElement and writeEndElement?
> 
> Thanks,
> --MG
> 
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>        at java.util.LinkedList.entry(LinkedList.java:365)
>        at java.util.LinkedList.remove(LinkedList.java:357)
>        at 
> org.apache.cxf.staxutils.OverlayW3CDOMStreamWriter.writeEndElement(OverlayW3CDOMStreamWriter.java:57)
>        at 
> org.apache.cxf.interceptor.WrappedOutInterceptor$WrappedOutEndingInterceptor.handleMessage(WrappedOutInterceptor.java:102)
>        at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
>        at 
> org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:77)
>        at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
>        at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>        at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
>        at 
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
>        at 
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)
>        at 
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
>        at 
> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:158)
> 
> 
> This message and any attachments (the "message") is intended solely for 
> the addressees and is confidential. If you receive this message in error, 
> please delete it and immediately notify the sender. Any use not in accord 
> with its purpose, any dissemination or disclosure, either whole or partial, 
> is prohibited except formal approval. The internet can not guarantee the 
> integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) 
> not therefore be liable for the message if modified. Please note that certain 
> functions and services for BNP Paribas may be performed by BNP Paribas RCC, 
> Inc.

Reply via email to