Jahia Dev Forum > Spring Exception...

0 (0 Good)
0 (0 Bad)

Spring Exception on startup

by  bharatkasodariya »  2014/02/19 08:34

2014-02-19 09:31:58,680: INFO  [TemplatePackageApplicationContextLoader] - Jahia modules application context initialization completed in 1198 ms
2014-02-19 09:31:58,864: ERROR [JahiaContextLoaderListener] - Error initializing Jahia modules Spring application context. Cause: null
java.lang.NullPointerException
        at org.jahia.services.templates.TemplatePackageDeployer.initModuleNode(TemplatePackageDeployer.java:688)
        at org.jahia.services.templates.TemplatePackageDeployer.access$1600(TemplatePackageDeployer.java:90)
        at org.jahia.services.templates.TemplatePackageDeployer$2.doInJCR(TemplatePackageDeployer.java:852)
        at org.jahia.services.templates.TemplatePackageDeployer$2.doInJCR(TemplatePackageDeployer.java:844)
        at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:178)
        at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:113)
        at org.jahia.services.templates.TemplatePackageDeployer.initializeMissingModuleNodes(TemplatePackageDeployer.java:842)
        at org.jahia.services.templates.JahiaTemplateManagerService.onApplicationEvent(JahiaTemplateManagerService.java:425)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
        at org.jahia.services.templates.TemplatePackageApplicationContextLoader.start(TemplatePackageApplicationContextLoader.java:123)
        at org.jahia.bin.listeners.JahiaContextLoaderListener.contextInitialized(JahiaContextLoaderListener.java:145)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        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:601)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
 

  (bharatkasodariya)

Number of messages  57
Registration date
0 (0 Good)
0 (0 Bad)

Re: Spring Exception on startup

by  shyrkov »  2014/02/19 08:36

Hello Bharat,

 

have you deployed any custom modules to Jahia?

Is this the first Jahia startup (the first ever -> initialialization)?

 

Kind regards

Sergiy

  • Re: Spring Exception on startup
    2014/02/19 08:36

    shyrkov <p> Hello Bharat,</p> <p> &nbsp;</p> <p> have you deployed any custom modules to Jahia?</p> <p> Is this the first Jahia startup (the first ever -&gt; initialialization)?</p> <p> &nbsp;</p> <p> Kind regards</p> <p> Sergiy</p>

  • Number of messages  407
    Registration date Feb 19, 2014
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Spring Exception on startup

    by  bharatkasodariya »  2014/02/19 08:59

    Yes I have deployed custom module. No its not first jahia startup

      (bharatkasodariya)

    Number of messages  57
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Spring Exception on startup

    by  shyrkov »  2014/02/19 12:31

    I doubt that with this level of information and details, you've provided about the issue, we can somehow proceed further :-)

  • Re: Re: Re: Spring Exception on startup
    2014/02/19 12:31

    shyrkov <p> I doubt that with this level of information and details, you&#39;ve provided about the issue, we can somehow proceed further :-)</p>

  • Number of messages  407
    Registration date Feb 19, 2014
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page