org.springframework.beans.factory.BeanCreationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 6#242358867
    via GitHub by code-911
    ,
  • Frequent freezes
    via GitHub by danielsz
    ,
  • Error while adding spritesheet
    via Stack Overflow by user3171663
    ,
  • NPE during check
    via GitHub by darkled
    ,
  • XML validator fails with NPE
    via GitHub by longtimeago
    ,
    • 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)

    Users with the same issue

    Axelo
    1 times, last one,