Jahia Dev Forum > Error in Jahia startup

0 (0 Good)
0 (0 Bad)

Error in Jahia startup

by  gkuhmel »  2012/10/11 16:40

Hello,

When developping a module, i tried to deploy by hand jsp files, css into the modules/<modulename>/ folder

After that, i tried to deploy with maven my module into var/shared_modules. 

Jahia launches an exception : 

2012-10-11 18:31:59,756: 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)
 
I tried to remove the module folder, the module war but the error remains at Jahia Startup.
 
So now, it's impossible to deploy new modules on my jahia instance.

1/ Is the only way to deploy modules (or jsp into modules) into jahia is to use maven ? Is my manual copy responsible for the exception ?
2/ when such an issue happens, how to correct it ? for now, the only solution i see is reinstall jahia ...
 
 
  • Error in Jahia startup
    2012/10/11 16:40

    gkuhmel <p> Hello,</p> <p> When developping a module, i tried to deploy by hand jsp files, css into the modules/&lt;modulename&gt;/ folder</p> <p> After that, i tried to deploy with maven my module into var/shared_modules.&nbsp;</p> <p> Jahia launches an exception :&nbsp;</p> <p> 2012-10-11 18:31:59,756: ERROR [JahiaContextLoaderListener] - Error initializing Jahia modules Spring application context. Cause: null</p> <p> &nbsp;</p> <div> java.lang.NullPointerException</div> <div> at org.jahia.services.templates.TemplatePackageDeployer.initModuleNode(TemplatePackageDeployer.java:688)</div> <div> at org.jahia.services.templates.TemplatePackageDeployer.access$1600(TemplatePackageDeployer.java:90)</div> <div> at org.jahia.services.templates.TemplatePackageDeployer$2.doInJCR(TemplatePackageDeployer.java:852)</div> <div> at org.jahia.services.templates.TemplatePackageDeployer$2.doInJCR(TemplatePackageDeployer.java:844)</div> <div> at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:178)</div> <div> at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:113)</div> <div> &nbsp;</div> <div> I tried to remove the module folder, the module war but the error remains at Jahia Startup.</div> <div> &nbsp;</div> <div> So now, it&#39;s impossible to deploy new modules on my jahia instance.</div> <div> <br /> 1/ Is the only way to deploy modules (or jsp into modules) into jahia is to use maven ? Is my manual copy responsible for the exception ?</div> <div> 2/ when such an issue happens, how to correct it ? for now, the only solution i see is reinstall jahia ...</div> <div> &nbsp;</div> <div> &nbsp;</div>

  • Number of messages  24
    Registration date Oct 11, 2012
    0 (0 Good)
    0 (0 Bad)

    Re: Error in Jahia startup

    by  shyrkov »  2012/10/22 21:58

    Hello Guillaume,

     

    I remember seeing this exception with Jahia 6.6.0.0 when the deployed module does not contains version defined (MANIFEST.MF) file. The issue should be resolved with the Jahia HF1 (6.6.0.1).

    Could you post, please, the Jahia build number so that I can check the corresponding code?

     

    Kind regards

    Sergiy

  • Re: Error in Jahia startup
    2012/10/22 21:58

    shyrkov <p> Hello Guillaume,</p> <p> &nbsp;</p> <p> I remember seeing this exception with Jahia 6.6.0.0 when the deployed module does not contains version defined (MANIFEST.MF) file. The issue should be resolved with the Jahia HF1 (6.6.0.1).</p> <p> Could you post, please, the Jahia build number so that I can check the corresponding code?</p> <p> &nbsp;</p> <p> Kind regards</p> <p> Sergiy</p>

  • Number of messages  407
    Registration date Oct 22, 2012
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Error in Jahia startup

    by  gkuhmel »  2012/10/23 15:29

    Yes it was this kind of error.

    I am in Jahia 6.6.0

    in my modules folder i had a ROOT folder with just a context file in it, due to a bad deployement.

    i removed the folder and then the issue was solved.

    Thanks for your help.

  • Re: Re: Error in Jahia startup
    2012/10/23 15:29

    gkuhmel <p> Yes it was this kind of error.</p> <p> I am in Jahia 6.6.0</p> <p> in my modules folder i had a ROOT folder with just a context file in it, due to a bad deployement.</p> <p> i removed the folder and then the issue was solved.</p> <p> Thanks for your help.</p>

  • Number of messages  24
    Registration date Oct 23, 2012
    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