cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DOSGI-236) IllegalArgumentException: No SchemaFactory exception during build
Date Wed, 14 Sep 2016 11:25:20 GMT

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

Christian Schneider resolved DOSGI-236.
---------------------------------------
       Resolution: Fixed
         Assignee: Christian Schneider
    Fix Version/s: 2.0.0

This is a bug in CXF Aegis. I found a workaround. The current 2.0-SNAPSHOT uses the new CXF
and works.

> IllegalArgumentException: No SchemaFactory exception during build
> -----------------------------------------------------------------
>
>                 Key: DOSGI-236
>                 URL: https://issues.apache.org/jira/browse/DOSGI-236
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>    Affects Versions: 1.9.0
>         Environment: Windows, JDK 1.8 Maven 3.2.1
>            Reporter: UniKnow
>            Assignee: Christian Schneider
>             Fix For: 2.0.0
>
>
> When I execute the build by invoking {{mvn clean install}} some of the the 'Distributed
OSGi System Tests Multi-Bundle' tests are failing due to the following exception:
> {code}
> [pool-7-thread-4] INFO org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean
- Creating Service {http://greeter.samples.dosgi.cxf.apache.org/}GreeterService from class
org.apache.cxf.dosgi.samples.greeter.GreeterService
> Exception in thread "pool-7-thread-4" java.lang.ExceptionInInitializerError
> 	at org.apache.cxf.aegis.AegisContext.createRootTypeCreator(AegisContext.java:119)
> 	at org.apache.cxf.aegis.AegisContext.createTypeCreator(AegisContext.java:108)
> 	at org.apache.cxf.aegis.AegisContext.initialize(AegisContext.java:150)
> 	at org.apache.cxf.aegis.databinding.AegisDatabinding.initialize(AegisDatabinding.java:233)
> 	at org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86)
> 	at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:467)
> 	at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:527)
> 	at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
> 	at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
> 	at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:168)
> 	at org.apache.cxf.dosgi.dsw.handlers.AbstractPojoConfigurationTypeHandler.createServerFromFactory(AbstractPojoConfigurationTypeHandler.java:179)
> 	at org.apache.cxf.dosgi.dsw.handlers.PojoConfigurationTypeHandler.exportService(PojoConfigurationTypeHandler.java:120)
> 	at org.apache.cxf.dosgi.dsw.handlers.CXFDistributionProvider.exportService(CXFDistributionProvider.java:80)
> 	at org.apache.aries.rsa.core.RemoteServiceAdminCore.exportService(RemoteServiceAdminCore.java:184)
> 	at org.apache.aries.rsa.core.RemoteServiceAdminCore.exportService(RemoteServiceAdminCore.java:117)
> 	at org.apache.aries.rsa.core.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:57)
> 	at org.apache.aries.rsa.core.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:55)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.aries.rsa.core.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:55)
> 	at org.apache.aries.rsa.core.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:39)
> 	at org.apache.aries.rsa.topologymanager.exporter.TopologyManagerExport.exportServiceUsingRemoteServiceAdmin(TopologyManagerExport.java:154)
> 	at org.apache.aries.rsa.topologymanager.exporter.TopologyManagerExport.doExport(TopologyManagerExport.java:125)
> 	at org.apache.aries.rsa.topologymanager.exporter.TopologyManagerExport.access$000(TopologyManagerExport.java:54)
> 	at org.apache.aries.rsa.topologymanager.exporter.TopologyManagerExport$1.run(TopologyManagerExport.java:98)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalArgumentException: No SchemaFactory that implements the schema
language specified by: http://www.w3.org/2001/XMLSchema could be loaded
> 	at javax.xml.validation.SchemaFactory.newInstance(SchemaFactory.java:215)
> 	at org.apache.cxf.aegis.type.XMLTypeCreator.<clinit>(XMLTypeCreator.java:122)
> 	... 27 more
> {code}
> (Example of failure in {{TestImportService}})



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message