cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: [VOTE] Apache CXF 2.5.8/2.6.5/2.7.2
Date Mon, 07 Jan 2013 19:50:18 GMT

On Jan 7, 2013, at 9:49 AM, Christian Schneider <chris@die-schneider.net> wrote:

> I tested on Karaf 2.3.0 and CXF DOSGi 1.4-SNAPSHOT.
> 
> When doing the steps from 
> https://cwiki.apache.org/confluence/display/CXF/DOSGi+Apache+Karaf+Feature
> I get the exception below.
> this may be related to Dan's recent change to defer loading of the xpath
> support in Aegis.

No.  I think this is more likely related to https://issues.apache.org/jira/browse/CXF-3613
, but I'm not even sure it's that.  It may be an OSGi thing in Karaf 2.3.0.  For some reason,
for the exception class, it's getting 2 properties:

1) the "name" (getName/setName) which it should as thats defined in the method.

2) A "classContext" property with just a getter (Class[] getClassContext()).   I have no idea
where that is coming from.  It doesn't exist in the normal class structures.   I need to figure
out if OSGi/Karaf is weaving a new method onto the Exception.   Not really sure yet what is
happening with this.

In any case, I don't think this is a regression from 2.7.1 and certainly not something that
looks easy to fix as I'll need to figure out where that method is coming from.   Thus, I'll
likely defer any fix for this to 2.7.3.  

Dan




> 
> 2013-01-07 15:48:17,637 | ERROR | pool-17-thread-1 |
> RemoteServiceAdminCore           | w.service.RemoteServiceAdminCore  128
> | 115 - cxf-dosgi-ri-dsw-cxf - 1.4.0.SNAPSHOT |
> java.lang.NullPointerException
>    at java.lang.reflect.Array.newArray(Native Method)[:1.6.0_37]
>    at java.lang.reflect.Array.newInstance(Array.java:52)[:1.6.0_37]
>    at
> org.apache.cxf.aegis.type.TypeUtil.getTypeRelatedClass(TypeUtil.java:261)[110:org.apache.cxf.cxf-rt-databinding-aegis:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.aegis.type.AbstractTypeCreator.createTypeForClass(AbstractTypeCreator.java:108)[110:org.apache.cxf.cxf-rt-databinding-aegis:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.aegis.type.AbstractTypeCreator.createType(AbstractTypeCreator.java:402)[110:org.apache.cxf.cxf-rt-databinding-aegis:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.aegis.type.basic.BeanTypeInfo.getType(BeanTypeInfo.java:192)[110:org.apache.cxf.cxf-rt-databinding-aegis:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.aegis.type.basic.BeanType.getDependencies(BeanType.java:534)[110:org.apache.cxf.cxf-rt-databinding-aegis:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.aegis.databinding.AegisDatabinding.addDependencies(AegisDatabinding.java:394)[110:org.apache.cxf.cxf-rt-databinding-aegis:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.aegis.databinding.AegisDatabinding.addDependencies(AegisDatabinding.java:399)[110:org.apache.cxf.cxf-rt-databinding-aegis:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.aegis.databinding.AegisDatabinding.addDependencies(AegisDatabinding.java:399)[110:org.apache.cxf.cxf-rt-databinding-aegis:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.aegis.databinding.AegisDatabinding.initializeMessage(AegisDatabinding.java:371)[110:org.apache.cxf.cxf-rt-databinding-aegis:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.aegis.databinding.AegisDatabinding.initializeOperation(AegisDatabinding.java:283)[110:org.apache.cxf.cxf-rt-databinding-aegis:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.aegis.databinding.AegisDatabinding.initialize(AegisDatabinding.java:242)[110:org.apache.cxf.cxf-rt-databinding-aegis:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86)[73:org.apache.cxf.cxf-rt-core:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:475)[73:org.apache.cxf.cxf-rt-core:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:537)[73:org.apache.cxf.cxf-rt-core:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:249)[73:org.apache.cxf.cxf-rt-core:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101)[104:org.apache.cxf.cxf-rt-frontend-simple:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)[104:org.apache.cxf.cxf-rt-frontend-simple:2.7.2.SNAPSHOT]
>    at
> org.apache.cxf.dosgi.dsw.handlers.AbstractPojoConfigurationTypeHandler.createServerFromFactory(AbstractPojoConfigurationTypeHandler.java:208)[115:cxf-dosgi-ri-dsw-cxf:1.4.0.SNAPSHOT]
>    at
> org.apache.cxf.dosgi.dsw.handlers.PojoConfigurationTypeHandler.createServer(PojoConfigurationTypeHandler.java:117)[115:cxf-dosgi-ri-dsw-cxf:1.4.0.SNAPSHOT]
>    at
> org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore.exportService(RemoteServiceAdminCore.java:120)[115:cxf-dosgi-ri-dsw-cxf:1.4.0.SNAPSHOT]
>    at
> org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:71)[115:cxf-dosgi-ri-dsw-cxf:1.4.0.SNAPSHOT]
>    at
> org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:64)[115:cxf-dosgi-ri-dsw-cxf:1.4.0.SNAPSHOT]
>    at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_37]
>    at
> org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:64)[115:cxf-dosgi-ri-dsw-cxf:1.4.0.SNAPSHOT]
>    at
> org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:37)[115:cxf-dosgi-ri-dsw-cxf:1.4.0.SNAPSHOT]
>    at
> org.apache.cxf.dosgi.topologymanager.exporter.TopologyManagerExport.doExportService(TopologyManagerExport.java:250)[114:cxf-dosgi-ri-topology-manager:1.4.0.SNAPSHOT]
>    at
> org.apache.cxf.dosgi.topologymanager.exporter.TopologyManagerExport.access$200(TopologyManagerExport.java:51)[114:cxf-dosgi-ri-topology-manager:1.4.0.SNAPSHOT]
>    at
> org.apache.cxf.dosgi.topologymanager.exporter.TopologyManagerExport$3.run(TopologyManagerExport.java:214)[114:cxf-dosgi-ri-topology-manager:1.4.0.SNAPSHOT]
>    at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_37]
>    at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_37]
>    at java.lang.Thread.run(Thread.java:662)[:1.6.0_37]
> 
> Christian
> 
> On 04.01.2013 23:22, Daniel Kulp wrote:
>> 
>> We've resolved over 35 issues since 2.7.1.  Not a huge number, but sufficient.  

>> 
>> 
>> List of issues:
>> 2.5.8
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310511&version=12323606
>> 2.6.5
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310511&version=12323605
>> 2.7.2
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310511&version=12323604
>> 
>> The Maven staging areas are at:
>> 2.5.8
>> https://repository.apache.org/content/repositories/orgapachecxf-99/
>> 2.6.5
>> https://repository.apache.org/content/repositories/orgapachecxf-100/
>> 2.7.2
>> https://repository.apache.org/content/repositories/orgapachecxf-101/
>> 
>> The distributions are in the org/apache/cxf/apache-cxf/ directory of the Maven staging
areas.
>> 
>> 
>> This releases are tagged at:
>> http://svn.apache.org/repos/asf/cxf/tags/cxf-2.5.8
>> http://svn.apache.org/repos/asf/cxf/tags/cxf-2.6.5
>> http://svn.apache.org/repos/asf/cxf/tags/cxf-2.7.2
>> 
>> This vote will be open for at least 72 hours.
>> 
>> 
>> Here's my +1.
>> 
>> 
> 

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Mime
View raw message