cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghuram (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7422) Getting Bean Creation exception while building application
Date Thu, 22 Jun 2017 09:39:00 GMT

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

Raghuram commented on CXF-7422:
-------------------------------

If we upgrade it to latest one, we will get other issues. My project is tightly coupled with
this release.

Looks like spring is trying to create a bean of "XMLBindingFactory", but its not able to.
I guess, this trying of bean creation is happening cyclicly until it successfully able to
create that bean. But that is not happening and it is ending up in "StackOverFlowException".

+Full Stack Trace:+

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.binding.BindingFactoryManager'
defined in class path resource [META-INF/cxf/cxf.xml]: Cannot create inner bean 'org.apache.cxf.configuration.spring.SpringBeanMap#479cfe1a'
of type [org.apache.cxf.configuration.spring.SpringBeanMap] while setting bean property 'mapProvider';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.cxf.configuration.spring.SpringBeanMap#479cfe1a' defined in class
path resource [META-INF/cxf/cxf.xml]: Invocation of init method failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory':
FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.bind
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
        at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)
        at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
        at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
        at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
        at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
        at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
        at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)
        at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:58)
        at org.apache.cxf.tools.common.toolspec.AbstractToolContainer.getBus(AbstractToolContainer.java:189)
        at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:158)
        at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:128)
        at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:271)
        at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
        at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
        at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
        at org.apache.cxf.maven_plugin.WSDL2JavaMojo.callWsdl2Java(WSDL2JavaMojo.java:406)
        at org.apache.cxf.maven_plugin.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:361)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

> Getting Bean Creation exception while building application
> ----------------------------------------------------------
>
>                 Key: CXF-7422
>                 URL: https://issues.apache.org/jira/browse/CXF-7422
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Raghuram
>             Fix For: NeedMoreInfo
>
>
> Getting the below exception while doing mvn clean install. Also, this exception is printed
many times which is also leading to StackOverflow Exception.
> cxf-bundle version - 2.2.12
> org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 'org.apache.cxf.binding.BindingFactoryManager' defined
in class path resource [META-INF/cxf/cxf.xml]: Cannot create inner bean 'org.apache.cxf.configuration.spring.SpringBeanMap#ca65c63'
of type [org.apache.cxf.configuration.spring.SpringBeanMap] while setting bean property 'mapProvider';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.cxf.configuration.spring.SpringBeanMap#ca65c63' defined in class
path resource [META-INF/cxf/cxf.xml]: Invocation of init method failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory':
FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean
threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.binding.xml.XMLBindingFactory': FactoryBean




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message