You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Mikhail GRUSHINSKIY <mi...@us.bnpparibas.com> on 2013/05/08 02:35:53 UTC

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.