org.springframework.beans.factory.BeanCreationException

Error creating bean with name '_muleSimpleRegistryBootstrap' defined in default-mule-config.xml: Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: Initialisation Failure: Object "transformer: _XmlToOutputHandler" has already been registered in the Registry. Registered object is "XmlToOutputHandler{this=12fa76c, name='_XmlToOutputHandler', ignoreBadInput=false, returnClass=interface org.mule.api.transport.OutputHandler, sourceTypes=[class java.lang.String, class [B, interface javax.xml.transform.Source, class org.xml.sax.InputSource, interface org.dom4j.Document, interface org.w3c.dom.Document, interface org.w3c.dom.Element, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, interface javax.xml.stream.XMLStreamReader, interface org.mule.module.xml.transformer.DelayedResult]}.class org.mule.module.xml.transformer.XmlToOutputHandler", Object being registered is "XmlToOutputHandler{this=198d967, name='_XmlToOutputHandler', ignoreBadInput=false, returnClass=interface org.mule.api.transport.OutputHandler, sourceTypes=[class java.lang.String, class [B, interface javax.xml.transform.Source, class org.xml.sax.InputSource, interface org.dom4j.Document, interface org.w3c.dom.Document, interface org.w3c.dom.Element, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, interface javax.xml.stream.XMLStreamReader, interface org.mule.module.xml.transformer.DelayedResult]}.class org.mule.module.xml.transformer.XmlToOutputHandler"

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

  • via Unknown by Evgeny Minkevich,
  • via Unknown by Juan Losada,
  • via Unknown by Evgeny Minkevich,
  • Stack trace

    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_muleSimpleRegistryBootstrap' defined in default-mule-config.xml: Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: Initialisation Failure: Object "transformer: _XmlToOutputHandler" has already been registered in the Registry. Registered object is "XmlToOutputHandler{this=12fa76c, name='_XmlToOutputHandler', ignoreBadInput=false, returnClass=interface org.mule.api.transport.OutputHandler, sourceTypes=[class java.lang.String, class [B, interface javax.xml.transform.Source, class org.xml.sax.InputSource, interface org.dom4j.Document, interface org.w3c.dom.Document, interface org.w3c.dom.Element, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, interface javax.xml.stream.XMLStreamReader, interface org.mule.module.xml.transformer.DelayedResult]}.class org.mule.module.xml.transformer.XmlToOutputHandler", Object being registered is "XmlToOutputHandler{this=198d967, name='_XmlToOutputHandler', ignoreBadInput=false, returnClass=interface org.mule.api.transport.OutputHandler, sourceTypes=[class java.lang.String, class [B, interface javax.xml.transform.Source, class org.xml.sax.InputSource, interface org.dom4j.Document, interface org.w3c.dom.Document, interface org.w3c.dom.Element, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, interface javax.xml.stream.XMLStreamReader, interface org.mule.module.xml.transformer.DelayedResult]}.class org.mule.module.xml.transformer.XmlToOutputHandler" at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) 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:217) 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:729) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381) at org.mule.config.spring.MuleApplicationContext.<init>(MuleApplicationContext.java:134) at org.mule.config.spring.MuleApplicationContext.<init>(MuleApplicationContext.java:85) at org.mule.config.builders.WebappMuleXmlConfigurationBuilder.createSpringParentRegistry(WebappMuleXmlConfigurationBuilder.java:112) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:71) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:38) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:97) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:55) at org.mule.config.builders.MuleXmlBuilderContextListener.createManager(MuleXmlBuilderContextListener.java:108) at org.mule.config.builders.MuleXmlBuilderContextListener.initialize(MuleXmlBuilderContextListener.java:74) at org.mule.config.builders.MuleXmlBuilderContextListener.contextInitialized(MuleXmlBuilderContextListener.java:56) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:375) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:83) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1591) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:565) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104) at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:128) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67) at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) Caused by: org.mule.api.lifecycle.InitialisationException: Initialisation Failure: Object "transformer: _XmlToOutputHandler" has already been registered in the Registry. Registered object is "XmlToOutputHandler{this=12fa76c, name='_XmlToOutputHandler', ignoreBadInput=false, returnClass=interface org.mule.api.transport.OutputHandler, sourceTypes=[class java.lang.String, class [B, interface javax.xml.transform.Source, class org.xml.sax.InputSource, interface org.dom4j.Document, interface org.w3c.dom.Document, interface org.w3c.dom.Element, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, interface javax.xml.stream.XMLStreamReader, interface org.mule.module.xml.transformer.DelayedResult]}.class org.mule.module.xml.transformer.XmlToOutputHandler", Object being registered is "XmlToOutputHandler{this=198d967, name='_XmlToOutputHandler', ignoreBadInput=false, returnClass=interface org.mule.api.transport.OutputHandler, sourceTypes=[class java.lang.String, class [B, interface javax.xml.transform.Source, class org.xml.sax.InputSource, interface org.dom4j.Document, interface org.w3c.dom.Document, interface org.w3c.dom.Element, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, interface javax.xml.stream.XMLStreamReader, interface org.mule.module.xml.transformer.DelayedResult]}.class org.mule.module.xml.transformer.XmlToOutputHandler" at org.mule.config.bootstrap.SimpleRegistryBootstrap.initialise(SimpleRegistryBootstrap.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1412) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1373) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333) ... 60 more Caused by: org.mule.api.registry.RegistrationException: Object "transformer: _XmlToOutputHandler" has already been registered in the Registry. Registered object is "XmlToOutputHandler{this=12fa76c, name='_XmlToOutputHandler', ignoreBadInput=false, returnClass=interface org.mule.api.transport.OutputHandler, sourceTypes=[class java.lang.String, class [B, interface javax.xml.transform.Source, class org.xml.sax.InputSource, interface org.dom4j.Document, interface org.w3c.dom.Document, interface org.w3c.dom.Element, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, interface javax.xml.stream.XMLStreamReader, interface org.mule.module.xml.transformer.DelayedResult]}.class org.mule.module.xml.transformer.XmlToOutputHandler", Object being registered is "XmlToOutputHandler{this=198d967, name='_XmlToOutputHandler', ignoreBadInput=false, returnClass=interface org.mule.api.transport.OutputHandler, sourceTypes=[class java.lang.String, class [B, interface javax.xml.transform.Source, class org.xml.sax.InputSource, interface org.dom4j.Document, interface org.w3c.dom.Document, interface org.w3c.dom.Element, class java.io.InputStream, interface org.mule.api.transport.OutputHandler, interface javax.xml.stream.XMLStreamReader, interface org.mule.module.xml.transformer.DelayedResult]}.class org.mule.module.xml.transformer.XmlToOutputHandler" at org.mule.registry.TransientRegistry.doRegisterTransformer(TransientRegistry.java:374) at org.mule.registry.AbstractRegistry.registerTransformer(AbstractRegistry.java:668) at org.mule.config.bootstrap.SimpleRegistryBootstrap.registerTransformers(SimpleRegistryBootstrap.java:174) at org.mule.config.bootstrap.SimpleRegistryBootstrap.process(SimpleRegistryBootstrap.java:116) at org.mule.config.bootstrap.SimpleRegistryBootstrap.initialise(SimpleRegistryBootstrap.java:105) ... 67 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.