You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/09/03 16:44:57 UTC

[jira] Resolved: (CXF-2421) Get the UnsupportedOperationException when reinstalling a cxf related bundle in OSGi platform

     [ https://issues.apache.org/jira/browse/CXF-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CXF-2421.
-------------------------------

    Resolution: Fixed

Applied the patch into trunk, 2.2.x, and 2.1.x.

> Get the UnsupportedOperationException when reinstalling a cxf related bundle in OSGi platform
> ---------------------------------------------------------------------------------------------
>
>                 Key: CXF-2421
>                 URL: https://issues.apache.org/jira/browse/CXF-2421
>             Project: CXF
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.1.3, 2.0.10, 2.1.4, 2.2, 2.0.11, 2.1.5, 2.2.1, 2.2.2, 2.0.12, 2.1.6, 2.2.3
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.1.7, 2.2.4, 2.3
>
>
> Here is the stack trace. It looks like the COWIterator do not support the remove operation.
>  
>  Caused by: java.lang.UnsupportedOperationException
> 	at java.util.concurrent.CopyOnWriteArrayList$COWIterator.remove(CopyOnWriteArrayList.java:937)
> 	at org.apache.cxf.configuration.spring.ConfigurerImpl.addApplicationContext(ConfigurerImpl.java:232)
> 	at org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor.updateBusReferencesInContext(BusWiringBeanFactoryPostProcessor.java:118)
> 	at org.apache.camel.component.cxf.spring.CxfEndpointBeanDefinitionParser$CxfSpringEndpointBean.setApplicationContext(CxfEndpointBeanDefinitionParser.java:115)
> 	at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:70)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1331)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.