camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7764) camel-cxf-transport has multiple test failures with JDK8
Date Sat, 30 Aug 2014 06:54:53 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-7764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14116266#comment-14116266
] 

ASF GitHub Bot commented on CAMEL-7764:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/camel/pull/256


> camel-cxf-transport has multiple test failures with JDK8
> --------------------------------------------------------
>
>                 Key: CAMEL-7764
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7764
>             Project: Camel
>          Issue Type: Test
>          Components: tests
>            Reporter: Kevin Earls
>            Priority: Minor
>
> The following tests in camel-dxf-transport fail with JDK8:
> Tests in error: 
>   CamelConduitTest.testCamelConduitConfiguration:70 » Runtime org.springframewor...
>   CamelDestinationTest.testCAMEL4073:279 » NoSuchField REFLECTION
>   CamelDestinationTest.testCamelDestinationConfiguration:75 » Runtime org.spring...
>   JaxWSCamelConduitTest.testAsyncInvocation:79->JaxWSCamelTestSupport.getSampleWSAsyncWithCXFAPI:127
» NoSuchField
>   JaxWSCamelConduitTest.testStart1:58->JaxWSCamelTestSupport.getSampleWS:111 » NoSuchField
>   JaxWSCamelConduitTest.testStart2:67->JaxWSCamelTestSupport.getSampleWSWithCXFAPI:119
» NoSuchField
>   JaxWSCamelConduitTest.testStart3:73->JaxWSCamelTestSupport.getSampleWS:111 » NoSuchField
>   JaxWSCamelDestinationTest.testDestinationContentType:53->JaxWSCamelTestSupport.publishSampleWS:136
» NoSuchField
> They all have the same error, as shown below.   This requires updating the jaxb version.
> Running org.apache.camel.component.cxf.transport.JaxWSCamelDestinationTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.254 sec <<<
FAILURE! - in org.apache.camel.component.cxf.transport.JaxWSCamelDestinationTest
> testDestinationContentType(org.apache.camel.component.cxf.transport.JaxWSCamelDestinationTest)
 Time elapsed: 1.048 sec  <<< ERROR!
> java.lang.NoSuchFieldError: REFLECTION
> 	at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:93)
> 	at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:455)
> 	at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:303)
> 	at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:142)
> 	at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1174)
> 	at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:162)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:483)
> 	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:247)
> 	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:234)
> 	at javax.xml.bind.ContextFinder.find(ContextFinder.java:441)
> 	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:641)
> 	at org.apache.cxf.common.jaxb.JAXBContextCache$2.run(JAXBContextCache.java:347)
> 	at org.apache.cxf.common.jaxb.JAXBContextCache$2.run(JAXBContextCache.java:345)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.cxf.common.jaxb.JAXBContextCache.createContext(JAXBContextCache.java:345)
> 	at org.apache.cxf.common.jaxb.JAXBContextCache.getCachedContextAndSchemas(JAXBContextCache.java:246)
> 	at org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContextAndSchemas(JAXBDataBinding.java:470)
> 	at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:325)
> 	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.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:704)
> 	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.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:215)
> 	at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
> 	at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)
> 	at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
> 	at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:456)
> 	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334)
> 	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:251)
> 	at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:152)
> 	at javax.xml.ws.Endpoint.publish(Endpoint.java:240)
> 	at org.apache.camel.component.cxf.transport.JaxWSCamelTestSupport.publishSampleWS(JaxWSCamelTestSupport.java:136)
> 	at org.apache.camel.component.cxf.transport.JaxWSCamelDestinationTest.testDestinationContentType(JaxWSCamelDestinationTest.java:53)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message