cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aki Yoshida (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-5440) NPE is thrown at http conduit's authorization setting in Blueprint
Date Fri, 06 Dec 2013 16:30:35 GMT

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

Aki Yoshida resolved CXF-5440.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.9
                   2.6.12
                   3.0.0-milestone2

> NPE is thrown at http conduit's authorization setting in Blueprint
> ------------------------------------------------------------------
>
>                 Key: CXF-5440
>                 URL: https://issues.apache.org/jira/browse/CXF-5440
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.7.7, 2.7.8
>            Reporter: Aki Yoshida
>            Assignee: Aki Yoshida
>             Fix For: 3.0.0-milestone2, 2.6.12, 2.7.9
>
>
> A blueprint based configuration that sets the authorization element for the http conduit,
a NPE will be thrown. This issue exists only from 2.7.7 including the current 2.7.8 for blueprint
based configuration. 
> This issue seems to be an regression error from CXF-5148.
> Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable
to initialize bean #recipe-130
> 	at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:714)
> 	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)
> 	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)
> 	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)
> 	at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:933)
> 	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:907)
> 	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:888)
> 	at org.apache.aries.blueprint.container.BlueprintContainerImpl.injectBeanInstance(BlueprintContainerImpl.java:927)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.cxf.bus.blueprint.ConfigurerImpl.configureBean(ConfigurerImpl.java:128)
> 	at org.apache.cxf.bus.blueprint.ConfigurerImpl.configureWithWildCard(ConfigurerImpl.java:188)
> 	at org.apache.cxf.bus.blueprint.ConfigurerImpl.configureBean(ConfigurerImpl.java:111)
> 	at org.apache.cxf.bus.blueprint.ConfigurerImpl.configureBean(ConfigurerImpl.java:100)
> 	at org.apache.cxf.transport.http.HTTPTransportFactory.configure(HTTPTransportFactory.java:189)
> 	at org.apache.cxf.transport.http.HTTPTransportFactory.getConduit(HTTPTransportFactory.java:270)
> 	at org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:238)
> 	at org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:110)
> 	at org.apache.cxf.endpoint.UpfrontConduitSelector.prepare(UpfrontConduitSelector.java:63)
> 	at org.apache.cxf.endpoint.ClientImpl.prepareConduitSelector(ClientImpl.java:886)
> 	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:560)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:474)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:377)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:330)
> 	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
> 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)
> 	... 26 more
> Caused by: java.lang.RuntimeException: Could not process configuration.
> 	at org.apache.cxf.transport.http.blueprint.AuthorizationPolicyHolder.init(AuthorizationPolicyHolder.java:60)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)
> 	at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)
> 	at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)
> 	... 53 more
> Caused by: java.lang.NullPointerException
> 	at org.apache.cxf.transport.http.blueprint.AuthorizationPolicyHolder.init(AuthorizationPolicyHolder.java:54)
> 	... 60 more



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message