Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring Boot with Apache CXF - com.sun.xml.bind.v2.util.StackRecorder: null  RSS feed

 
Dominic Prabhu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

I am using Spring Boot Apache CXF and getting the following exception: How to resolve it ?

com.sun.xml.bind.v2.util.StackRecorder: null
      at com.sun.xml.bind.v2.schemagen.XmlSchemaGenerator.write(XmlSchemaGenerator.java:454) [jaxb-impl-2.2.11.jar:2.2.11]
      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.generateSchema(JAXBContextImpl.java:809) [jaxb-impl-2.2.11.jar:2.2.11]


[DEBUG] org.jboss.logging - Logging Provider: org.jboss.logging.Slf4jLoggerProvider
[INFO] org.apache.camel.spring.SpringCamelContext - Apache Camel 2.16.0 (CamelContext: camel-1) is starting
[INFO] org.apache.camel.management.ManagedManagementStrategy - JMX is enabled
[INFO] org.apache.camel.impl.converter.DefaultTypeConverter - Loaded 224 type converters
[INFO] org.apache.camel.impl.DefaultRuntimeEndpointRegistry - Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000)
[INFO] org.apache.camel.spring.SpringCamelContext - AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
[INFO] org.apache.camel.spring.SpringCamelContext - StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
[DEBUG] com.sun.xml.bind.v2.ContextFactory - Property com.sun.xml.bind.XmlAccessorFactoryis not active.  Using JAXB's implementation
[DEBUG] com.sun.xml.bind.v2.ContextFactory - Property com.sun.xml.bind.XmlAccessorFactoryis not active.  Using JAXB's implementation
[DEBUG] com.sun.xml.bind.v2.schemagen.XmlSchemaGenerator - Wrigin XML Schema for
com.sun.xml.bind.v2.util.StackRecorder: null
      at com.sun.xml.bind.v2.schemagen.XmlSchemaGenerator.write(XmlSchemaGenerator.java:454) [jaxb-impl-2.2.11.jar:2.2.11]
      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.generateSchema(JAXBContextImpl.java:809) [jaxb-impl-2.2.11.jar:2.2.11]
      at org.apache.cxf.common.jaxb.JAXBUtils.generateJaxbSchemas(JAXBUtils.java:809) [cxf-core-3.1.2.jar:3.1.2]
      at org.apache.cxf.jaxb.JAXBDataBinding.generateJaxbSchemas(JAXBDataBinding.java:447) [cxf-rt-databinding-jaxb-3.1.2.jar:3.1.2]
      at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:360) [cxf-rt-databinding-jaxb-3.1.2.jar:3.1.2]
      at org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86) [cxf-core-3.1.2.jar:3.1.2]
      at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:467) [cxf-rt-wsdl-3.1.2.jar:3.1.2]
      at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:696) [cxf-rt-frontend-jaxws-3.1.2.jar:3.1.2]
      at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:527) [cxf-rt-wsdl-3.1.2.jar:3.1.2]
      at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261) [cxf-rt-wsdl-3.1.2.jar:3.1.2]
      at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199) [cxf-rt-frontend-jaxws-3.1.2.jar:3.1.2]
      at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102) [cxf-rt-frontend-simple-3.1.2.jar:3.1.2]
      at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91) [cxf-rt-frontend-simple-3.1.2.jar:3.1.2]
      at org.apache.camel.component.cxf.CxfEndpoint.createClient(CxfEndpoint.java:620) [camel-cxf-2.16.0.jar:2.16.0]
      at org.apache.camel.component.cxf.CxfProducer.doStart(CxfProducer.java:80) [camel-cxf-2.16.0.jar:2.16.0]
      at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3219) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:1209) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1170) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:442) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.ProducerCache.acquireProducer(ProducerCache.java:160) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.processor.SendProcessor.doStart(SendProcessor.java:239) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:74) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:59) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:103) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:89) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:79) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:74) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:59) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:103) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:89) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.processor.RedeliveryErrorHandler.doStart(RedeliveryErrorHandler.java:1336) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:44) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:31) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:74) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:59) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:103) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:89) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.processor.interceptor.DefaultChannel.doStart(DefaultChannel.java:155) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:74) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:59) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:103) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:61) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:103) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:89) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.processor.MulticastProcessor.doStart(MulticastProcessor.java:1133) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:74) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:59) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:103) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:89) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:79) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:74) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.RouteService.startChildService(RouteService.java:340) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.RouteService.warmUp(RouteService.java:182) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3440) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3370) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3147) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3003) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:172) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2799) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2795) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2818) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2795) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2764) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:270) [camel-spring-2.16.0.jar:2.16.0]
      at org.apache.camel.spring.SpringCamelContext.afterPropertiesSet(SpringCamelContext.java:122) [camel-spring-2.16.0.jar:2.16.0]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1631) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:523) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:512) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1056) [spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.apache.camel.spring.CamelBeanPostProcessor$1.getOrLookupCamelContext(CamelBeanPostProcessor.java:73) [camel-spring-2.16.0.jar:2.16.0]
      at org.apache.camel.spring.CamelBeanPostProcessor$1$1.getCamelContext(CamelBeanPostProcessor.java:106) [camel-spring-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.CamelPostProcessorHelper.doGetEndpointInjection(CamelPostProcessorHelper.java:157) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.CamelPostProcessorHelper.getEndpointInjection(CamelPostProcessorHelper.java:152) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.CamelPostProcessorHelper.createInjectionProducerTemplate(CamelPostProcessorHelper.java:289) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.CamelPostProcessorHelper.getInjectionValue(CamelPostProcessorHelper.java:205) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelBeanPostProcessor.injectField(DefaultCamelBeanPostProcessor.java:195) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelBeanPostProcessor$1.doWith(DefaultCamelBeanPostProcessor.java:187) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.util.ReflectionHelper.doWithFields(ReflectionHelper.java:73) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelBeanPostProcessor.injectFields(DefaultCamelBeanPostProcessor.java:168) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.impl.DefaultCamelBeanPostProcessor.postProcessBeforeInitialization(DefaultCamelBeanPostProcessor.java:82) [camel-core-2.16.0.jar:2.16.0]
      at org.apache.camel.spring.CamelBeanPostProcessor.postProcessBeforeInitialization(CamelBeanPostProcessor.java:148) [camel-spring-2.16.0.jar:2.16.0]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1564) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) [spring-beans-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:759) [spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) [spring-context-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:689) [spring-boot-1.2.7.RELEASE.jar:1.2.7.RELEASE]
      at org.springframework.boot.SpringApplication.run(SpringApplication.java:321) [spring-boot-1.2.7.RELEASE.jar:1.2.7.RELEASE]
      at com.batch.Application.main(Application.java:52)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!