org.springframework.beans.factory.BeanCreationException

Error creating bean with name 'alvex-orgchart' defined in file [/store/program/alfresco-community/tomcat/webapps/share/WEB-INF/classes/alfresco/web-extension/alvex-orgchart-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web19430

  • Error creating bean with name 'alvex-orgchart' defined in file [/store/program/alfresco-community/tomcat/webapps/share/WEB-INF/classes/alfresco/web-extension/alvex-orgchart-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  • via GitHub by code-911
    , 11 months ago
    Error creating bean with name 'alvex-orgchart' defined in file [/store/program/alfresco-community/tomcat/webapps/share/WEB-INF/classes/alfresco/web-extension/alvex-orgchart-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  • 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alvexMasterDataService' defined in URL [jar:file:/opt/alfresco-4.2.f/tomcat/webapps/alfresco/WEB-INF/lib/alvex-documents-registers
  • Stack trace

    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alvex-orgchart' defined in file [/store/program/alfresco-community/tomcat/webapps/share/WEB-INF/classes/alfresco/web-extension/alvex-orgchart-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1859) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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.NullPointerException at sun.misc.MetaIndex.mayContain(MetaIndex.java:242) at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:995) at sun.misc.URLClassPath.getResource(URLClassPath.java:212) at sun.misc.URLClassPath.getResource(URLClassPath.java:265) at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1261) at java.lang.ClassLoader.getResource(ClassLoader.java:1090) at java.lang.ClassLoader.getResource(ClassLoader.java:1088) at java.lang.ClassLoader.getResource(ClassLoader.java:1088) at java.lang.ClassLoader.getResource(ClassLoader.java:1088) at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:232) at org.apache.catalina.loader.WebappClassLoader.getResourceAsStream(WebappClassLoader.java:1542) at com.alvexcore.share.ShareExtension.afterPropertiesSet(ShareExtension.java:66) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)

    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

    Once, 2 months ago