[ 
http://www.jahia.net/jira/browse/JAHIA-3445?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#action_25397
 ]

Sergiy Shyrkov logged work on JAHIA-3445:
-----------------------------------------

                Author: Sergiy Shyrkov
            Created on: 18/Nov/08 12:47
            Start Date: 18/Nov/08 12:47
    Worklog Time Spent: 30 minutes 

Issue Time Tracking
-------------------

    Remaining Estimate: 0 minutes
            Time Spent: 30 minutes

> NPE when creating a site with a templates set for which the templates.xml 
> file contains not home page template
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: JAHIA-3445
>                 URL: http://www.jahia.net/jira/browse/JAHIA-3445
>             Project: Jahia Web Content Management Server (WCMS)
>          Issue Type: Bug
>          Components: Administration Center
>    Affects Versions: WCM 5.0 SP5
>            Reporter: Damien Saulnier
>            Assignee: Sergiy Shyrkov
>             Fix For: WCM 5.0 SP5
>
>          Time Spent: 30 minutes
>  Remaining Estimate: 0 minutes
>
> 504 r22041 (HotFix)
> When creating a new virtual site, I have encountered NPE. When I have 
> verified the content of the templates.xml file, I have found that no template 
> was set as the home page template. The problem is that my site creation has 
> failed, and so it is out of use. I think it would be bettter to use first 
> template in the list in such a case, and add an error message in log to 
> inform that a template has automaticaly be chosen as the default one. Then, 
> if it is not the good one, it is still possible to switch the used template 
> in page settings, whereas currently, we can do no other thing than dropping 
> the site.
> 2008-09-18 10:43:22,214: INFO  [org.apache.slide.security.SecurityImpl] - 
> Action aggregations loaded successfully
> java.lang.NullPointerException
>         at 
> org.jahia.admin.sites.ManageSites.getHomePageDefinition(ManageSites.java:1324)
>         at 
> org.jahia.admin.sites.ManageSites.terminateAdd(ManageSites.java:1029)
>         at org.jahia.admin.sites.ManageSites.createSite(ManageSites.java:1573)
>         at 
> org.jahia.admin.sites.ManageSites.userRequestDispatcher(ManageSites.java:207)
>         at org.jahia.admin.sites.ManageSites.<init>(ManageSites.java:154)
>         at 
> org.jahia.bin.JahiaAdministration.userRequestDispatcher(JahiaAdministration.java:401)
>         at 
> org.jahia.bin.JahiaAdministration.service(JahiaAdministration.java:266)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:110)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>         at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>         at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:619)
> 2008-09-18 10:43:26,715: ERROR [org.jahia.admin.sites.ManageSites] - Error 
> while adding site

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.jahia.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
jira_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/jira_list

Reply via email to