You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Edstrom Johan (JIRA)" <ji...@apache.org> on 2011/06/22 06:11:47 UTC

[jira] [Reopened] (CAMEL-4137) CxfNamespaceHandler should not just set the TCCL and not set it back

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

Edstrom Johan reopened CAMEL-4137:
----------------------------------


This breaks the wsdl service.

Caused by: java.lang.NullPointerException
	at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:92)
	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:369)
	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:499)
	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:241)
	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:202)
	at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101)
	at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:157)
	at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:202)
	at org.apache.camel.component.cxf.CxfConsumer.<init>(CxfConsumer.java:226)
	at org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.java:132)


> CxfNamespaceHandler should not just set the TCCL and not set it back
> --------------------------------------------------------------------
>
>                 Key: CAMEL-4137
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4137
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.8.0
>
>
> Current CxfNamespaceHandler set the TCCL to parser the cxfEndpoint, but it never reset the TCCL back.
> It will cause some trouble if there are lots of Blueprint Namespcehandlers are called by the same thread.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira